Commit 6c9bc3ea authored by Till Brehm's avatar Till Brehm

Enable mod_logio in apache on opensuse.

parent 7c18547d
...@@ -657,6 +657,9 @@ class installer_dist extends installer_base { ...@@ -657,6 +657,9 @@ class installer_dist extends installer_base {
//* Create the logging directory for the vhost logfiles //* Create the logging directory for the vhost logfiles
exec('mkdir -p /var/log/ispconfig/httpd'); exec('mkdir -p /var/log/ispconfig/httpd');
//* enable apache logio module
exec('a2enmod logio');
//if(is_file('/etc/suphp.conf')) { //if(is_file('/etc/suphp.conf')) {
replaceLine('/etc/suphp.conf', 'php=php', 'x-httpd-suphp="php:/srv/www/cgi-bin/php5"', 0, 0); replaceLine('/etc/suphp.conf', 'php=php', 'x-httpd-suphp="php:/srv/www/cgi-bin/php5"', 0, 0);
replaceLine('/etc/suphp.conf', 'php="php', 'x-httpd-suphp="php:/srv/www/cgi-bin/php5"', 0, 0); replaceLine('/etc/suphp.conf', 'php="php', 'x-httpd-suphp="php:/srv/www/cgi-bin/php5"', 0, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment