Re: Question before upgrading to 5
| From: | Myron Turner | Date: | Thu, 22 Mar 2007 23:52:49 +0000 |
| Subject: | Re: Question before upgrading to 5 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-251143@lists.php.net to get a copy of this message | ||
Jochem Maas wrote:
Jake McHenry wrote:Listen 80 But the second install can listen on, for instance, 8080 Listen 8080 Then you can access the site, using the same urls, but with the 8080 port:I don't need them running parallel, only both installedI think you missed the point. you would have 2 apaches running, that is correct but the trick is to set it up so that they use the same document roots for each site that you are trying to convert. the beauty of this is that you can literally run the same site in php5 and php4 simulaneously with urls something *like*: php4.mydevsite.com php5.mydevsite.com (ProxyPassed to 'inner' apache) were HOSTS file contains: 127.0.0.1 php4.mydevsite.com php5.mydevsite.com and both outer and inner apache's use the same docroot for the given site. obviously it's just one way of setting up a comfortable dev environment - as long as you have something that allows you to doo your tihng without to much pain then thats the main thing :-) I've handled this by having the second installation of Apache listen on a different port. The default is of course 80, so the directive reads:
http://www.example.com:8080/somepage.html-- _____________________ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/