LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 11-20-2008, 09:06 AM   #1
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 452

Rep: Reputation: 44
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
 
Old 11-20-2008, 02:29 PM   #2
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 452

Original Poster
Rep: Reputation: 44
Thumbs up Solved!

Sorry guys, i forgot to add the lib dir in /etc/ld.so.conf.

Thanks anyway!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install PHP on a 64bit CentOS problem. HELP. jfernandez Linux - Software 5 11-20-2008 07:56 AM
Centos 5.2 running Apache 2 and PHP 4 cannot display info.php codenjanod Linux - Server 2 08-19-2008 02:00 AM
apache 2.2.8, mod_fcgid 2.2 and php-cgi 5.2.6 processes die 70mas Linux - Server 2 03-17-2008 01:11 AM
libgaim.so.0()(64bit) error | centos Cheza Linux - General 1 01-12-2008 10:32 AM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM


All times are GMT -5. The time now is 12:17 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration