From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Description of problem:
Any PHP program that tries to access mysql databases causes a
segmentation fault; database access is impossible
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install any php script which uses mysql (my latest try was wikipedia)
2. access the script
3. check httpd error log
Actual Results: segmentation fault
Expected Results: proper mysql access
I have a similar problem on FC 1. This bug was reported on June 22nd,
but I believe I hadn't had this problem before upgrading to PHP 4.3.8-1.1
Ahah, FC2 may have PHP 4.3.8 even in June.
Apache error log has the following:
[notice] child pid 16134 exit signal Segmentation fault (11)
This may have to do with this PHP bug :
http://bugs.php.net/bug.php?id=4609&edit=1 (this one was very old and
is about Sybase but might shed some light on what's going on...)
Downgrading php-mysql to 4.3.4-1.1 (I used '--nodeps' and '--force')
solved the problem for me on Fedora core 1. The rest of my PHP remains
Btw, I guess this bug should be moved to 'PHP'. I don't have enough
privilige to make that change.
Reassigning to PHP module owner.
Anyone having issues with php-mysql, please include the output from
running the following commands as root:
# rpm -V php php-mysql mysql
# php -m
to verify correct package installation.
To further diagnose a backtrace from an httpd child, run:
echo "CoreDumpDirectory /tmp" >> /etc/httpd/conf.d/coredump.conf
and restart httpd, then obtain a backtrace using:
# gdb /usr/sbin/httpd /tmp/core.*
and include that here.
Please supply further details as above.