Another great Falko howto:
http://www.howtoforge.com/apache2_suphp_php4_php5
I'm wondering how to apply this feature in ispconfig.
We are moving all our hosting customers to ISPConfig and would love to have the ability to select which handler is used on a per vhost/customer basis.
I can't manually edit the vhost configs because if someone makes a change to the 'web' through the ISPConfig portal, the config will be rewritten, right?
What I would like to do is have ISPConfig output:
Code:
suPHP_Engine on
suPHP_UserGroup web1_username web1
AddHandler x-httpd-php4 .php .php4
AddHandler x-httpd-php5 .php5
suPHP_AddHandler x-httpd-php4
suPHP_AddHandler x-httpd-php5
instead of the code below when the 'suphp' option is set in config.inc.php
Code:
suPHP_Engine on
suPHP_UserGroup web1_username web1
AddHandler x-httpd-php .php .php3 .php4 .php5
suPHP_AddHandler x-httpd-php
This way I could tell the end users to use a .php4 or .php5 extension on their files to decide which version of php to use.
Can anyone see why this would not work? If not, does anyone know where in the ISPConfig source files the suphp code is specified so I can change it?
Thanks in advance!
Rustin
Recent comments
3 hours 30 min ago
4 hours 30 min ago
8 hours 17 min ago
9 hours 31 min ago
13 hours 7 min ago
20 hours 22 min ago
1 day 5 hours ago
1 day 6 hours ago
1 day 21 hours ago
2 days 16 min ago