ID:               48822
 Updated by:       j...@php.net
 Reported By:      stevenf at panic dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Apache2 related
 Operating System: Mac OS X Server 10.5.7
 PHP Version:      5.3.0
 New Comment:

Well, the only way to figure out what's wrong is propably checking what

the differences are between those working / non-working servers. 


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

[2009-07-07 17:34:04] stevenf at panic dot com

1. Yes, we have this line in php.ini: 

date.timezone = America/Los_Angeles

2. It looks like we are using the default Unix MPM (prefork).  Our 
Apache config string was simply:

./configure --enable-ssl --enable-so

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

[2009-07-07 17:19:07] j...@php.net

Is date.timezone set in your php.ini? What MPM is used in Apache?

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

[2009-07-07 16:52:44] stevenf at panic dot com

1. No, the php.ini only sets a few variables.

2. Good to know, thanks!

3. Can you point me to some instructions on how to get the backtrace 
in this situation?  Would I have to, for example, run httpd within 
gdb?

Further information:

PHP 5.3.0 + Apache 2 works on one of our three Xserves, and produces 
this same bus error on the other two.  CPU architecture does not seem 
to be a factor, as I earlier thought.  

I am still in the process of trying to figure out what might be 
different between the environments of the working and non-working 
machines.

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

[2009-07-07 11:35:24] j...@php.net

1. Do you load any extensions in the php.ini used? Especially some 3rd
party zend exts?
2. Remove /lib suffix from any configure option values. It's never
needed
3. Backtrace..?

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

[2009-07-06 17:37:05] stevenf at panic dot com

Description:
------------
After compiling and installing PHP 5.3.0, Apache reports a bus error 
when I try to 
restart it:

sporty:php-5.3.0 stevenf$ sudo /usr/local/apache2/bin/apachectl 
graceful
/usr/local/apache2/bin/apachectl: line 78: 25030 Bus error             
 
$HTTPD -k $ARGV

The problem goes away if I roll back to PHP 5.2.10.

I have submitted the results of make test.

Note that this is a PowerPC machine -- this has caused some PHP 
problems in the past.

Uname info:

Darwin sporty.panic.com 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 
22:54:29 PDT 2009; 
root:xnu-1228.12.14~1/RELEASE_PPC Power Macintosh

Config string:

./configure  --with-openssl --with-apxs2=/usr/local/apache2/bin/apxs -
-with-mysql-
sock=/var/mysql --with-mysql=/usr --with-xmlrpc --enable-mbstring --
without-sqlite --
enable-sockets --with-curl --with-gd --with-jpeg-dir=/usr/local/lib --
with-png-
dir=/usr/local/lib

Apache info:

Apache/2.2.10 (Unix) DAV/2 PHP/5.2.10 mod_ssl/2.2.10 OpenSSL/0.9.7l




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


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

Reply via email to