This commit is contained in:
Ralf Becker 2014-09-09 15:32:00 +00:00
parent 5ae4a0dc28
commit 7bed4b7dfa

View File

@ -126,8 +126,8 @@ function set_distro_defaults($distro=null)
{ {
$config['php5enmod'] = '/usr/sbin/php5enmod'; $config['php5enmod'] = '/usr/sbin/php5enmod';
// Ubuntu only needs "-s ALL" and Debian gives an error, because it does not support it // Ubuntu only needs "-s ALL" and Debian gives an error, because it does not support it
if (!file_exists('/etc/php5/conf.d/')) $config['php5enmod'] = ' -s ALL'; if (!file_exists('/etc/php5/conf.d/')) $config['php5enmod'] .= ' -s ALL';
$config['php5enmod'] = 'mcrypt'; $config['php5enmod'] .= ' mcrypt';
} }
$config['autostart_db'] = '/usr/sbin/update-rc.d mysql defaults'; $config['autostart_db'] = '/usr/sbin/update-rc.d mysql defaults';
$config['autostart_webserver'] = '/usr/sbin/update-rc.d apache2 defaults'; $config['autostart_webserver'] = '/usr/sbin/update-rc.d apache2 defaults';