ID: 35458
User updated by: jfeise at gmail dot com
Reported By: jfeise at gmail dot com
Status: Open
Bug Type: Apache2 related
Operating System: Linux Kernel. 2.6.14
PHP Version: 5.1.1
New Comment:
More info:
The Apache error log has this line:
[Mon Nov 28 13:00:03 2005] [crit] ERROR: Linked library:5.0.15 /
mysql.h=4.0.20\n
It seems the build picked up the wrong include directory for MySQL. I
am recompiling now with the correct include dir.
Previous Comments:
------------------------------------------------------------------------
[2005-11-28 21:56:27] jfeise at gmail dot com
I'm using prefork:
httpd -l
Compiled in modules:
...
prefork.c
I'm not quite sure what you mean with the PHP configuration in
httpd.conf.
It is pretty much standard:
LoadModule php5_module modules/libphp5.so
DirectoryIndex index.php index.html index.html.var
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
------------------------------------------------------------------------
[2005-11-28 21:49:09] [EMAIL PROTECTED]
First of all: What MPM are you using in Apache2?
And how did you configure PHP in the httpd.conf ?
------------------------------------------------------------------------
[2005-11-28 21:45:04] jfeise at gmail dot com
I disagree.
This happened after upgrading to PHP 5.1.1, from 5.0.5, without any
other changes.
I think #1 in the backtrace, mod_info_module_cmds (), is the issue. The
server-info collect module information, and that fails with php 5.1.1.
------------------------------------------------------------------------
[2005-11-28 21:39:50] [EMAIL PROTECTED]
Obviously, not PHP problem.
------------------------------------------------------------------------
[2005-11-28 21:34:08] jfeise at gmail dot com
The backtrace:
(gdb) run -X
Starting program: /usr/local/apache2/bin/httpd -X
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 3476)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 3476)]
0xb7acd421 in strcasecmp () from /lib/libc.so.6
(gdb) bt
#0 0xb7acd421 in strcasecmp () from /lib/libc.so.6
#1 0x080b01f5 in mod_info_module_cmds ()
#2 0x080b0c6a in display_info ()
#3 0x080d156a in ap_run_handler ()
#4 0x080d1cd9 in ap_invoke_handler ()
#5 0x0809b241 in ap_process_request ()
#6 0x08095647 in ap_process_http_connection ()
#7 0x080de322 in ap_run_process_connection ()
#8 0x080de71c in ap_process_connection ()
#9 0x080cfdfd in child_main ()
#10 0x080cfed4 in make_child ()
#11 0x080cfffc in startup_children ()
#12 0x080d040c in ap_mpm_run ()
#13 0x080d712d in main ()
(gdb)
------------------------------------------------------------------------
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/35458
--
Edit this bug report at http://bugs.php.net/?id=35458&edit=1