[php-maint] Bug#337885: php4-mysql causes apache to segfault if scoop is installed

Mark Noel mmnoel at wisc.edu
Mon Nov 7 02:01:20 UTC 2005


Package: php4-mysql
Version: 4:4.3.10-16

I have a machine with a fresh install of netinst / stable upon which 
scoop was installed via apt-get (which includes apache 1). Scoop was 
configured properly and confirmed to be running. Then configured 
apache 1 to allow php as the handler for a few subdirectories and 
installed php4 and php4-mysql via apt-get as well. While php4 works 
fine and seems to coexist peacefully, once php4-mysql is installed, 
scoop instantly breaks. According to apache, the server processes are 
segfaulting and dying every time a scoop page is requested:

... [notice] child pid 9323 exit signal Segmentation fault (11)

Even so, the php directories still work and a test page with a call 
to phpinfo() in it is procesed correctly and shows that the mysql 
support is now present.

Uninstalling php4-mysql using 'apt-get remove php4-mysql' and 
restarting apache will cure the segfaulting problem. However, once 
this is done, reinstalling the package using 'apt-get install 
php4-mysql' will appear to work, but will in fact do nothing. Running 
'dpkg --purge php4-mysql' and then reinstalling with 'apt-get install 
php4-mysql' will actually work, and will break apache/scoop exactly 
as before.

Maybe there's some conflict between scoop and php4-mysql over the 
mysql client libraries? I really don't know...


Here's my machine info:

uname -a
Linux glearn.org 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 GNU/Linux

libc6:  Version: 2.3.2.ds1-22

scoop:  Version: 0.9.0-15

php4-mysql:  Version: 4:4.3.10-16

mysql-server:  4.0.24-10sarge1


many thanks...

-- 
Mark Noel
Cell: 603.387.7731
GPG/PGP KeyID: 0xBF2FC067
http://www.curiouscharacter.net/




More information about the pkg-php-maint mailing list