Did you read the INSTALL?

Straight from INSTALL:

USING PHP 3 AND PHP 4 AS CONCURRENT APACHE MODULES

Recent operating systems provide the ability to perform versioning and 
scoping. This features make it possible to let PHP 3 and PHP 4 run as 
concurrent modules in one Apache server. 
   
   This feature is known to work on the following platforms:

   - Linux with recent binutils (binutils 2.9.1.0.25 tested)
   - Solaris 2.5 or better
   - FreeBSD (3.2, 4.0 tested)
   
To enable it, configure PHP 3 and PHP 4 to use APXS (--with-apxs) and 
the necessary link extensions (--enable-versioning). Otherwise, all
standard installations instructions apply. For example:

                $ ./configure \
                                --with-apxs=/apache/bin/apxs \
                                --enable-versioning \
                                --with-mysql \

HTH

Michael

On Fri, 2 Jun 2000, r00t the LiNuXeRRR wrote:

> 
>       I compile PHP3 with -DEAPI. Now i have both ... PHP3 & PHP4. In my
> error.log i found this:
> 
> 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
> Problem is PHP3 module ... when I deactivate the module my http server
> it's working OK.
> 
> The apache server it's crashing down.
> I'm try to run apache server with each module (not both on a time).
> 
> What can i do to use both module in the same time?
> 
> Thanx,
> Cosmin
> 
> 

Reply via email to