[PHP-DOC] #34195 [Opn]: Running PHP 4 and PHP 5 concurrently
ID: 34195 User updated by: phpnet at gwaihir dot net Reported By: phpnet at gwaihir dot net Status: Open Bug Type: Documentation problem Operating System: all PHP Version: Irrelevant New Comment: Derick, of course, if modules are possible that would be best. But while that setup of yours is an excellent one for testing with multiple versions, I don't quite see that work out on a standard production server just yet, where for various reasons (mainly firewalls and suspicions) all users will need to be served from port 80. Or is there is some way to internally redirect from one Apache to another? I.e. receive all requests with the Apache on port 80, but redirect some to another internally, with for example an .htaccess on a particular folder. Previous Comments: [2005-08-20 22:07:47] [EMAIL PROTECTED] I think that running as CGI is quite suboptimal. I prefer to run two different apache setups. Some info on that is here: http://ez.no/community/articles/multiple_apache_installations_howto [2005-08-20 14:55:42] phpnet at gwaihir dot net Description: This much needed bit of documentation is missing. It may not work the 3 - 4 way, but A way is badly needed to get major hosts to start the transition period. After all, expecting folk to just flip the switch on a production machine just isn't realistic (nor would it get PHP a good rep). So, I hear it can be done by adding php5 as CGI (initially). Can you write down how? It would be even better of course, if some folk subsequently went out and familiarized some of the major hosting panel makers (such as CPanel) on how to make it part of their software.. -- Edit this bug report at http://bugs.php.net/?id=34195edit=1
[PHP-DOC] #34195 [Opn]: Running PHP 4 and PHP 5 concurrently
ID: 34195 Updated by: [EMAIL PROTECTED] Reported By: phpnet at gwaihir dot net Status: Open Bug Type: Documentation problem Operating System: all PHP Version: Irrelevant New Comment: That's exactly what the document describes - using mod_proxy to proxy through something that only is bind to localhost:8080. Ofcourse, if you have two external IPs you can simply bind each of the apaches to a different IP. Previous Comments: [2005-08-22 14:23:40] phpnet at gwaihir dot net Derick, of course, if modules are possible that would be best. But while that setup of yours is an excellent one for testing with multiple versions, I don't quite see that work out on a standard production server just yet, where for various reasons (mainly firewalls and suspicions) all users will need to be served from port 80. Or is there is some way to internally redirect from one Apache to another? I.e. receive all requests with the Apache on port 80, but redirect some to another internally, with for example an .htaccess on a particular folder. [2005-08-20 22:07:47] [EMAIL PROTECTED] I think that running as CGI is quite suboptimal. I prefer to run two different apache setups. Some info on that is here: http://ez.no/community/articles/multiple_apache_installations_howto [2005-08-20 14:55:42] phpnet at gwaihir dot net Description: This much needed bit of documentation is missing. It may not work the 3 - 4 way, but A way is badly needed to get major hosts to start the transition period. After all, expecting folk to just flip the switch on a production machine just isn't realistic (nor would it get PHP a good rep). So, I hear it can be done by adding php5 as CGI (initially). Can you write down how? It would be even better of course, if some folk subsequently went out and familiarized some of the major hosting panel makers (such as CPanel) on how to make it part of their software.. -- Edit this bug report at http://bugs.php.net/?id=34195edit=1
[PHP-DOC] #34195 [Opn]: Running PHP 4 and PHP 5 concurrently
ID: 34195 User updated by: phpnet at gwaihir dot net Reported By: phpnet at gwaihir dot net Status: Open Bug Type: Documentation problem Operating System: all PHP Version: Irrelevant New Comment: Oops.. sorry. Apparently missed that bit. Only saw the direct multi-port approach. So, a link to your document from the php.net docs would pretty much be all it takes to fill this hiatus. :) Although.. this approach moves sites (virtual hosts) over as a whole. Would there be a more finegrained way too, allowing an individual user to run some scripts on php4 still while running others on php5 already? I'm thinking towards using .php5 as extention, or a .htaccess directive in a specific folder.. Previous Comments: [2005-08-22 14:43:34] [EMAIL PROTECTED] That's exactly what the document describes - using mod_proxy to proxy through something that only is bind to localhost:8080. Ofcourse, if you have two external IPs you can simply bind each of the apaches to a different IP. [2005-08-22 14:23:40] phpnet at gwaihir dot net Derick, of course, if modules are possible that would be best. But while that setup of yours is an excellent one for testing with multiple versions, I don't quite see that work out on a standard production server just yet, where for various reasons (mainly firewalls and suspicions) all users will need to be served from port 80. Or is there is some way to internally redirect from one Apache to another? I.e. receive all requests with the Apache on port 80, but redirect some to another internally, with for example an .htaccess on a particular folder. [2005-08-20 22:07:47] [EMAIL PROTECTED] I think that running as CGI is quite suboptimal. I prefer to run two different apache setups. Some info on that is here: http://ez.no/community/articles/multiple_apache_installations_howto [2005-08-20 14:55:42] phpnet at gwaihir dot net Description: This much needed bit of documentation is missing. It may not work the 3 - 4 way, but A way is badly needed to get major hosts to start the transition period. After all, expecting folk to just flip the switch on a production machine just isn't realistic (nor would it get PHP a good rep). So, I hear it can be done by adding php5 as CGI (initially). Can you write down how? It would be even better of course, if some folk subsequently went out and familiarized some of the major hosting panel makers (such as CPanel) on how to make it part of their software.. -- Edit this bug report at http://bugs.php.net/?id=34195edit=1
[PHP-DOC] #34195 [Opn]: Running PHP 4 and PHP 5 concurrently
ID: 34195 Updated by: [EMAIL PROTECTED] Reported By: phpnet at gwaihir dot net Status: Open Bug Type: Documentation problem Operating System: all PHP Version: Irrelevant New Comment: I think that running as CGI is quite suboptimal. I prefer to run two different apache setups. Some info on that is here: http://ez.no/community/articles/multiple_apache_installations_howto Previous Comments: [2005-08-20 14:55:42] phpnet at gwaihir dot net Description: This much needed bit of documentation is missing. It may not work the 3 - 4 way, but A way is badly needed to get major hosts to start the transition period. After all, expecting folk to just flip the switch on a production machine just isn't realistic (nor would it get PHP a good rep). So, I hear it can be done by adding php5 as CGI (initially). Can you write down how? It would be even better of course, if some folk subsequently went out and familiarized some of the major hosting panel makers (such as CPanel) on how to make it part of their software.. -- Edit this bug report at http://bugs.php.net/?id=34195edit=1