#34195 [Com]: Running PHP 4 and PHP 5 concurrently
| From: | gavin dot phpdoc at mac dot com | Date: | Sat, 11 Mar 2006 16:09:31 +0000 |
| Subject: | #34195 [Com]: Running PHP 4 and PHP 5 concurrently | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969372337@lists.php.net to get a copy of this message | ||
ID: 34195
Comment by: gavin dot phpdoc at mac dot com
Reported By: phpnet at gwaihir dot net
Status: Open
Bug Type: Documentation problem
Operating System: all
PHP Version: Irrelevant
New Comment:
We could possibly add a section containing a list of resources
(links to other pages such as http://ez.no/community/articles/
multiple_apache_installations_howto) on the Installation on
Unix Systems page?
http://www.php.net/manual/en/install.unix.php
Previous Comments:
------------------------------------------------------------------------
[2005-08-22 15:41:32] phpnet at gwaihir dot net
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..
------------------------------------------------------------------------
[2005-08-22 14:43:34] derick@php.net
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] derick@php.net
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=34195&edit=1