RE: [PHP] Running PHP 4 & PHP 5 Simultaneously
| From: | Dan Rossi | Date: | Fri, 07 Mar 2003 23:11:22 +0000 |
| Subject: | RE: [PHP] Running PHP 4 & PHP 5 Simultaneously | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138701@lists.php.net to get a copy of this message | ||
if u read my previous post i have another instance of apache running with 5
under that so apache first server is running on port 1023 and apache second
server is running on port 1024
-----Original Message-----
From: Jason Lange [mailto:jslange@myrealbox.com]
Sent: Saturday, March 08, 2003 5:18 AM
To: php-general@lists.php.net
Subject: [PHP] Running PHP 4 & PHP 5 Simultaneously
Greetings!
I was wondering if it is possible to run both PHP 4 and PHP 5
simultaneously under Apache 2.0.43 on Windows XP Home. I currently have
PHP 4.3.0 (SAPI) running successfully under it, but would like to add
PHP 5-dev for experimenting. What I'd like to do is allow PHP 4 files to
have a *.php while PHP 5 files have a *.php5 extension.
The problems I'm running into are: First, both versions of PHP identify
themselves as 'php4_module'. Thus Apache gets confused and won't startup
when I try to add the second (PHP 5) module. Secondly, how do I work
having two 'php.ini' files running around. I can't very well put them
both in 'C:\WINDOWS' and there doesn't seem to be a way to place them
both in '*\php\sapi' like php4ts.dll.
Hopefully this all makes sense.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php