I use you code:
- # Make sure that PHP modules are enabled
- if(-x '/usr/sbin/php5enmod') {
- my($stdout, $stderr);
- my $rs = execute('php5enmod gd imap intl json mcrypt mysql mysqli mysqlnd pdo pdo_mysql', \$stdout, \$stderr);
- debug($stdout) if $stdout;
- unless($rs ~~ [0, 2]) {
- error($stderr) if $stderr;
- return $rs;
- }
- }
and it works... i think the problem is not generally solved, but i understand that you can't support every repository/backports/etc.
i think , if i switch to jessie i should use the original debian stable sources, when they are stable.
Best Regards,
Sierra