How can I do this with Ispconfig ? http://www.rootforum.de/forum/viewtopic.php?p=95479 I want this in my Vhost Code: suPHP_Config /www/conf/user01/php.ini
You must put this in the apache directives field and not in the vhost, otherwise it will be overwritten.
The apache directives field is always exlusive for one website. Every website has its own apache directives field and everything you enter in this field is parsed into the vhost configuartion for just this one website.
I become this error on restart apache Code: Invalid command 'suPHP_Config', perhaps mis-spelled or defined by a module not included in the server configuration my Vhost HTML: <VirtualHost 192.168.1.1> ServerName www.my.de:80 ServerAdmin [email protected] DocumentRoot /home/ww/web40/web DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm $ ScriptAlias /cgi-bin/ /home/ww/web40/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl ErrorLog /home/times/web40/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 suPHP_Engine on suPHP_Config /home/ww/web40/phptmp/php.ini suPHP_UserGroup web40_ftp web40 AddHandler x-httpd-php .php .php3 .php4 .php5 suPHP_AddHandler x-httpd-php Alias /error/ "/home/ww/web40/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /home/ww/web40/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /home/ww/web40/user/$1/web/$3 RewriteEngine on </VirtualHost>
Please try this instead: suPHP_ConfigPath /www/conf/user01 Where /www/conf/user01 is the directory where you have put the php.ini file.