Some sites (or sections of sites ex: Photopost gallery) are returning 503 errors.
Digging into the logs I see:
The PHP binary in use is /usr/local/bin/php
We are running Red Hat EL6 on a Xeon 8 core CPU, 8GB RAM, with WHM/cPanel and LiteSpeed 4.1.12, PHP 5.3.10.
PHP Memory Limit is 256M
PHP was compiled by LiteSpeed support via paid ticket.
Any suggestions on how to proceed without breaking my server by playing around?
Digging into the logs I see:
Getting this error:
2012-05-11 09:20:42.631 [STDERR] lsphp5:/flowerch/public_html/photopost/showphoto.php: relocation error: lsphp5:/flowerch/public_html/photopost/showphoto.php: symbol deflateInit2_, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference
2012-05-11 09:20:42.631 [STDERR] lsphp5:/flowerch/public_html/photopost/showphoto.php: relocation error: lsphp5:/flowerch/public_html/photopost/showphoto.php: symbol deflateInit2_, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference
root@server [~]# ldd /usr/local/bin/php |grep libmysqlclient
libmysqlclient.so.16 => /usr/lib64/mysql/libmysqlclient.so.16 (0x00007f124a2e0000)
root@server [~]# ls -la /usr/lib64/mysql/libmysqlclient.so.16
lrwxrwxrwx 1 root root 24 May 9 13:18 /usr/lib64/mysql/libmysqlclient.so.16 -> libmysqlclient.so.16.0.0*
root@server [~]# nm /usr/lib64/mysql/libmysqlclient.so.16 |grep deflateInit_2
nm: /usr/lib64/mysql/libmysqlclient.so.16: no symbols
root@server [~]# rpm -qf /usr/lib64/mysql/libmysqlclient.so.16
mysql-libs-5.1.52-1.el6_0.1.x86_64
libmysqlclient.so.16 => /usr/lib64/mysql/libmysqlclient.so.16 (0x00007f124a2e0000)
root@server [~]# ls -la /usr/lib64/mysql/libmysqlclient.so.16
lrwxrwxrwx 1 root root 24 May 9 13:18 /usr/lib64/mysql/libmysqlclient.so.16 -> libmysqlclient.so.16.0.0*
root@server [~]# nm /usr/lib64/mysql/libmysqlclient.so.16 |grep deflateInit_2
nm: /usr/lib64/mysql/libmysqlclient.so.16: no symbols
root@server [~]# rpm -qf /usr/lib64/mysql/libmysqlclient.so.16
mysql-libs-5.1.52-1.el6_0.1.x86_64
PHP Memory Limit is 256M
PHP was compiled by LiteSpeed support via paid ticket.
Any suggestions on how to proceed without breaking my server by playing around?