#27528 [Com]: Configuring php 5.0.0b4 from source with options below causes Apache2 to hang

From: Date: Tue, 23 Mar 2004 18:39:43 +0000
Subject: #27528 [Com]: 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-56683@lists.php.net to get a copy of this message
 ID:               27528
 Comment by:       josh at trutwins dot homeip dot net
 Reported By:      josh at netbits dot us
 Status:           No Feedback
 Bug Type:         Apache2 related
 Operating System: Linux SuSE 8.1
 PHP Version:      5.0.0b4 (beta4)
 New Comment:

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


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

[2004-03-15 08:38:03] sniper@php.net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



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

[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 (#56683) next »