Apache segv after updating PHP + MySQL on RH ES3
Posted: Tue Jun 27, 2006 7:43 am
Hi,
I have just updated php + MySQL on a RedHat ES3 server, using up2date with the following in /etc/sysconfig/rhn/sources:
yum atomic http://3es.atomicrocketturtle.com/atomic/art/3ES/
I ran:
up2date-nox php
The update appeared to work fine, the following php/MySQL rpms are now installed:
# rpm -qa|egrep -i 'php|mysql' | sort
libdbi-dbd-mysql-0.6.5-5
mysql-4.1.20-1.art.rhel3.art
mysql-compat-4.1.20-1.art.rhel3.art
mysql-devel-4.1.20-1.art.rhel3.art
MySQL-python-0.9.1-6
mysql-server-4.1.20-1.art.rhel3.art
perl-DBD-MySQL-2.1021-3
php-4.4.2-3.rhel3.art
php-imap-4.4.2-3.rhel3.art
php-ldap-4.4.2-3.rhel3.art
php-mbstring-4.4.2-3.rhel3.art
php-mysql-4.4.2-3.rhel3.art
php-pear-4.4.2-3.rhel3.art
php-pgsql-4.4.2-3.rhel3.art
Most sites are mostly running OK, but I have the following problems:
(1) WordPress 2.0 sites cause apache to segv:
[notice] child pid 29291 exit signal Segmentation fault (11)
- this occurs reliably once per page when trying to access either of our two WP sites. Nothing in apache error logs.
(2) Zen Cart sites have a formatting problem, I found another user who experienced exactly the same error and the cause was found to be:
"one of the php libraries was compiled against an older version of mysql; so it wasn't recognizing the version information correctly."
http://www.zen-cart.com/forum/archive/i ... 26655.html
(3) As noted by another user here, phpinfo() says (after many apache & MySQL restarts):
Client API version 3.23.58
Apache's php.conf has:
LoadModule php4_module modules/libphp4.so
# rpm -qf /etc/httpd/modules/libphp4.so
php-4.4.2-3.rhel3.art
I have worked around problem (2) but (1) remains a serious problem, with clients ringing up and asking what's going on - this is a live server. Any advice greatly appreciated!
Thanks for your valued work in providing these repositories,
Dave
I have just updated php + MySQL on a RedHat ES3 server, using up2date with the following in /etc/sysconfig/rhn/sources:
yum atomic http://3es.atomicrocketturtle.com/atomic/art/3ES/
I ran:
up2date-nox php
The update appeared to work fine, the following php/MySQL rpms are now installed:
# rpm -qa|egrep -i 'php|mysql' | sort
libdbi-dbd-mysql-0.6.5-5
mysql-4.1.20-1.art.rhel3.art
mysql-compat-4.1.20-1.art.rhel3.art
mysql-devel-4.1.20-1.art.rhel3.art
MySQL-python-0.9.1-6
mysql-server-4.1.20-1.art.rhel3.art
perl-DBD-MySQL-2.1021-3
php-4.4.2-3.rhel3.art
php-imap-4.4.2-3.rhel3.art
php-ldap-4.4.2-3.rhel3.art
php-mbstring-4.4.2-3.rhel3.art
php-mysql-4.4.2-3.rhel3.art
php-pear-4.4.2-3.rhel3.art
php-pgsql-4.4.2-3.rhel3.art
Most sites are mostly running OK, but I have the following problems:
(1) WordPress 2.0 sites cause apache to segv:
[notice] child pid 29291 exit signal Segmentation fault (11)
- this occurs reliably once per page when trying to access either of our two WP sites. Nothing in apache error logs.
(2) Zen Cart sites have a formatting problem, I found another user who experienced exactly the same error and the cause was found to be:
"one of the php libraries was compiled against an older version of mysql; so it wasn't recognizing the version information correctly."
http://www.zen-cart.com/forum/archive/i ... 26655.html
(3) As noted by another user here, phpinfo() says (after many apache & MySQL restarts):
Client API version 3.23.58
Apache's php.conf has:
LoadModule php4_module modules/libphp4.so
# rpm -qf /etc/httpd/modules/libphp4.so
php-4.4.2-3.rhel3.art
I have worked around problem (2) but (1) remains a serious problem, with clients ringing up and asking what's going on - this is a live server. Any advice greatly appreciated!
Thanks for your valued work in providing these repositories,
Dave