Hi all.
Ok, so I tried to set up my TC box to serve php through fastCGI and lighttpd.
It wouldn't work as I was getting all kinds of errors in the lighttpd errorlog, all coming from fastCGI which refused to start.
After resolving a number of issues, I started getting (persistently) this:
2011-11-06 22:44:03: (mod_fastcgi.c.1104) the fastcgi-backend /usr/local/bin/php-cgi failed to start:
2011-11-06 22:44:03: (mod_fastcgi.c.1108) child exited with status 127 /usr/local/bin/php-cgi
2011-11-06 22:44:03: (mod_fastcgi.c.1111) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.
If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2011-11-06 22:44:03: (mod_fastcgi.c.1399) [ERROR]: spawning fcgi failed.
2011-11-06 22:44:03: (server.c.938) Configuration of plugins failed. Going down.
(sorry for the 'quote'. For some reason I'm not allowed to post code)
So I said that first thing's first, I should check to to see if I could get anything from php.
Being a - almost complete - newb in this area, I opened a terminal and gave a
/usr/local/bin/php -v
which returned (same error for php-cgi, of course):
/usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: no such file or directory
Indeed, there is no such file, since mysql libraries are at .18 rather than .16
Now to me this doesn't look good. Is this my problem?