View Single Post
  #1  
Old 27th April 2011, 23:56
krambiorix krambiorix is offline
Junior Member
 
Join Date: Apr 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Ubuntu 10.04 Syntax error in php5.conf (ISPC 2)

Hi guys,

first of all, great work, nice product!

When i try to restart apache from a fresh install, i get Syntax error on line 3 of /etc/apache2/mods-enabled/php5.conf: SetHandler takes one argument, a handler name that overrides any other configured handler ...fail!

This is my php5.conf :

<IfModule mod_php5.c>
<FilesMatch "\.ph(p3?|tml)$">
SetHandler ##ISPConfig INSTALL## application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler ##ISPConfig INSTALL## application/x-httpd-php-source
</FilesMatch>
# To re-enable php in user directories comment the following lines
# (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
# prevents .htaccess files from disabling it.
<IfModule mod_userdir.c>
<Directory /home/*/public_html>
php_admin_value engine Off
</Directory>
</IfModule>
</IfModule>
~
Thanks for the help
Reply With Quote
Sponsored Links