|
apache 2.0.63 with mod_fcgid and php-cgi error on CentOS 5.2 64Bit
Hello, I have setup apache with mod_fcgid, home build, also php fcgi. Everything was build perfect and so on.
I have tried a small test to see if php works with fcgi and apache, but I get the same error:
[Thu Nov 20 15:33:38 2008] [notice] mod_fcgid: process /srv/www/index.php(31842) exit(communication error), terminated by calling exit(), return code: 127
[Thu Nov 20 15:39:48 2008] [notice] mod_fcgid: call /srv/www/index.php with wrapper /applications/php/bin/php-cgi -c /applications/php/etc/php.ini
/applications/php/bin/php-cgi: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
[Thu Nov 20 15:39:48 2008] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Thu Nov 20 15:39:48 2008] [error] [client 195.212.29.171] Premature end of script headers: index.php
php-cgi works fine, no problems whatsoever, apache again and mod_fcgi, but I dont get why it has the problem with find the mysql lib.
I added everything in /etc/ld.so.conf and so on and still nothing, same error.
Does anyone know the idea, problem, issue, why is this happening?
I have test php-cgi with nginx and it works fine, no error nothing...
Please let me know if you have some ideas! Thanks
|