I installed OptWare and have installed some of the packages like nano and php. Everything works. But then I had to install php-gd for thumbnail creation. Restarted lighthttpd and boom my php stops working. I get following error in the error.log
2008-04-22 11:03:09: (mod_fastcgi.c.1532) connect failed: 7 Connection refused 111 0 /tmp/php-fcgi.sock-0
2008-04-22 11:03:09: (mod_fastcgi.c.2388) child signaled: 11
2008-04-22 11:03:10: (mod_fastcgi.c.1992) unexpected end-of-file (perhaps the fastcgi process died): pid: 12210 fcgi-fd: 7 remote-fd: 6
2008-04-22 11:03:10: (mod_fastcgi.c.2866) response not sent, request sent: 1214 connection-fd: 6 fcgi-fd: 7
I am using fastcgi.
Apart from that if I run php from shell it says
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/lib/php/extensions/gd.so' - File not found in Unknown on line 0
I checked the location and its there!!
What am I missing? Anyone facing this same issue. Interesting thing is if I uninstall php-gd, php works without any flaws.