![]() |
coexistence of php4 and php5 on ISPC3
Hi Falco, hi Till, hello everyone!
Thnx for your great work at first! I bought a membership last week to download the new manual of ISPC3 and I love it... Very usefull. There is only one point I´m not able to solve since some time. I already was searching the web by google, searching the howtoforge.com-forums, tried everything (that I know) to find usefull information about: Peacefull coexistence of php4 and php5 in ISPConfig 3 I found some information getting deep into changing default ISPC3-configuration. I´m sure I found enough information to get it to work but I could not find any help, how-to, tutorial on how to realize this coexistence in a perfect running ISPC3-configuration without meshing up default configuration, overwritten any time I go for an version update or upgrade. In the new manual only one line gave me hope to solve this need: "More than one PHP version can be run as FastCGI". That sounds like it´s not a big thing... My problem is the need of php4 for some older projects to run but I don´t want to experiment around on a production machine. Could you give me - and others - possibly a secure step-by-step how-to or tutorial on: "HOW TO IMPLEMENT PHP4 ON A ISPC3 SERVER TO PEACEFULLY COEXIST WITH PHP5" If this is asked to much, maybe you just could give me some easy to understand advice to find my way. My main focus is on compatibility with updates of future releases without meshing up the configuration. Thnx in advace for your help Best regards from Vienna - Ingmar ----------------------------------- Debian Lenny - ISPConfig 3.3 |
Take a look here:
http://www.howtoforge.com/apache2_with_php5_and_php4 http://www.howtoforge.com/apache2_suphp_php4_php5_p3 if you use the first example, you can enable PHP5 as mod_php or FastCGI from within ISPConfig, and then you add directives for PHP4 in the Apache Directives field in ISPConfig. |
I follow both first tutorial and not working for me:
This is my vhost.conf: Code:
<Directory /var/www/cblasan.com>http://img801.imageshack.us/img801/7...leccin002a.png result: http://img266.imageshack.us/img266/9655/seleccin003.png Thank you in advance |
Please remove the .php4 extension from the following line:
Code:
AddHandler php5-cgi .php .php3 .php4 .php5 |
Hy Falko, this is my vhost.conf now:
Code:
<Directory /var/www/cblasan.com>http://img577.imageshack.us/img577/4821/seleccin005.png Uploaded with ImageShack.us http://img59.imageshack.us/img59/3532/seleccin004.png I don't know i do wrong... error.log vhost: Code:
cgi/conf.d/mcrypt.ini on line 1 in Unknown on line 0, referer: http://www.cblasan.com/info.php |
Does /usr/lib/cgi-bin/php4 exist?
|
| All times are GMT +2. The time now is 23:43. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.