Re: PHP3 and PHP4 run as concurrent module
| From: | Matt Grover | Date: | Tue, 19 Sep 2000 18:29:41 +0000 |
| Subject: | Re: PHP3 and PHP4 run as concurrent module | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2462@lists.php.net to get a copy of this message | ||
It's very likely that your existing PHP3 was not configured and built
with "--enable-versioning".
I had the exact same issue - so I just recompiled PHP3 with versioning
enabled and everything is working great! Without it, php3 and php4 can't
both register the same function calls - as you can see from your
error_log.
Good luck,
-Matt
David THOMAS wrote:
>
> I'm running LINUX Redhat 6.1
> Mysql, apache 1.3.12, php3 is installed and work fine
>
> Now I want to have php4 and php3 run as concurrent modules.
> I use the following
> ./configure --with-mysql=/usr/local/mysql --enable-track-vars --with-xml --
> with-apxs=/usr/local/apache/bin/apxs --with-swf=/usr/local/src/libswf
> --enable-versioning --with-gd --with-zlib --with-ftp --with-gettext --with-s
> ocket;make;make install
>
> The compilation works fine but when I start the apache web server I get the
> following error in the error_log file:
>
> 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
>
> Any Idea ???????
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net