PDA

View Full Version : suPHP_Config


planet_fox
9th January 2007, 23:21
How can I do this with Ispconfig ?

http://www.rootforum.de/forum/viewtopic.php?p=95479

I want this in my Vhost

suPHP_Config /www/conf/user01/php.ini

till
10th January 2007, 00:27
I guess it should work if you add this line in the apache directives field of the website.

planet_fox
10th January 2007, 14:14
When I do this config manual in the Vhost, what is when Isp config makes reload ?

till
10th January 2007, 14:30
When I do this config manual in the Vhost, what is when Isp config makes reload ?

You must put this in the apache directives field and not in the vhost, otherwise it will be overwritten.

planet_fox
10th January 2007, 19:27
How I can than a php.ini exclusiv for some Webs of ISP Config

till
10th January 2007, 19:48
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.

planet_fox
10th January 2007, 23:50
I become this error on restart apache

Invalid command 'suPHP_Config', perhaps mis-spelled or defined by a module not included in the server configuration

my Vhost

<VirtualHost 192.168.1.1>
ServerName www.my.de:80
ServerAdmin webmaster@my.de
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>

till
11th January 2007, 09:09
Please try this instead:

suPHP_ConfigPath /www/conf/user01

Where /www/conf/user01 is the directory where you have put the php.ini file.