#27528 [Opn->Bgs]: Configuring php 5.0.0b4 from source with options below causes Apache2 to hang

From: Date: Wed, 07 Apr 2004 08:52:22 +0000
Subject: #27528 [Opn->Bgs]: Configuring php 5.0.0b4 from source with options below causes Apache2 to hang
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-57628@lists.php.net to get a copy of this message
 ID:               27528
 Updated by:       sniper@php.net
 Reported By:      josh at netbits dot us
-Status:           Open
+Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: Linux SuSE 8.1
 PHP Version:      5.0.0RC1
 New Comment:

User error, loading an old extension compiled with some older PHP
version -> OF COURSE it won't work..



Previous Comments:
------------------------------------------------------------------------

[2004-03-23 13:39:43] josh at trutwins dot homeip dot net

Also, noticed the following in php error log:

[23-Mar-2004 12:39:03] PHP Warning:  PHP Startup: þèj@`Þj@: Unable to
initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP    compiled with module API=20040316, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0

This was tried with the following configure options.

./configure \
--with-config-file-path=/etc/httpd \
--enable-libgcc \
--enable-sigchild \
--enable-track-vars \
--disable-ipv6 \
\
--with-apxs2=/usr/local/apache/bin/apxs

------------------------------------------------------------------------

[2004-03-09 18:29:57] iliaa@php.net

Please isolate the problem to a particular module (by 
adding 1 module at a time to your configure). 

------------------------------------------------------------------------

[2004-03-09 11:59:36] josh at netbits dot us

Forgot, I also tried my original configure commands with CVS snapshot
from yesterday afternoon - same results.

------------------------------------------------------------------------

[2004-03-09 11:58:15] josh at netbits dot us

# ./configure --disable-all --with-apxs2=/usr/local/apache/bin/apxs
# make && make install
# /usr/local/apache/bin/apachectl stop
# /usr/local/apache/bin/apachectl start

Using the php-5.0.0b4 release with these options works fine.  Of
course, it's not very useful.  :)

Also verified that httpd.conf did not contain additional load_module
calls.  I do not install any disto software for php/apache/mysql/etc
and control all of this by building from source.

Josh

------------------------------------------------------------------------

[2004-03-09 08:43:51] sniper@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

And try this for PHP:

# ./configure --disable-all --with-apxs2=/usr/local/apache/bin/apxs
# make && make install
# /usr/local/apache/bin/apachectl stop
# /usr/local/apache/bin/apachectl start

Also, make sure you're NOT loading any other PHP versions the same time
in your apache httpd.conf (some distros come with preinstalled PHP,
so..)



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/27528

-- 
Edit this bug report at http://bugs.php.net/?id=27528&edit=1


Thread (11 messages)

« previous php.bugs (#57628) next »