PHP 4.0 Bug #4595: Running PHP4 and PHP3 concurrently
| From: | travis at pulley dot org | Date: | Thu, 25 May 2000 20:43:09 +0000 |
| Subject: | PHP 4.0 Bug #4595: Running PHP4 and PHP3 concurrently | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19451@lists.php.net to get a copy of this message | ||
From: travis@pulley.org
Operating system: Linux 2.2 glibc2.1
PHP version: 4.0.0 Release
PHP Bug Type: Installation problem
Bug description: Running PHP4 and PHP3 concurrently
I've followed the instructions for running php3 and php4 concurrently as per the instructions
at http://www.us.php.net/version4/migration.php
, but I've been unable to do this. I can run them simultaneously with one being run through
cgi, but that won't work for my situation. I've also fixed the apxs script as described in
the PHP3 FAQ, so that the configure script doesn't complain about having a broken apxs.
I've been able to get both versions' modules to compile and load individually, but if I
try to use them both at the same time, I get a segfault. Loading php4 first caused an immediate
segfault, and loading php3 first caused all the children to run and then immediately segfault. Any
help would be most appreciated.
As a side note, I compiled the modules and tried to run them earlier without running 'make
install'. the install directive did something with apxs, which made the behavious change to
that one I described above. But if I ran the modules that had been compiled, I would get an
immediate segfault loading php4 first, but loading php3 first would result in these error messages:
PHP Warning: Function registration failed - duplicate name - define in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - defined in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - each in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - strlen in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - strcmp in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - strcasecmp in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - error_reporting in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - leak in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - function_exists in Unknown on line 0
PHP Warning: Basic Functions: Unable to register functions, unable to load in Unknown on line 0