Problems getting lighttpd working with php and fcgi
Below is a post I posted recently on the old apparently dying freebsd forums. I thank everyone over there for letting me know that place was dead and that this was the new preferred hangout. I really like the look of this place
I've been using the guide over at nixcraft to install php and lighttpd
Everything compiles and installs as expected but I get an error after I uncomment the fcgi section in lighttpd.conf
#### fastcgi module
## read fastcgi.txt for more info
## for PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini
fastcgi.server = ( ".php" =>
( "localhost" =>
"socket" => "/var/run/lighttpd/php-fastcgi.socket",
"bin-path" => "/usr/local/bin/php-cgi"
I think the bold line is the issue as there is no socket in the location that it is referring to. Unfortunately I have no idea how to create the socket. Below is the output from the php-cgi -v command if that is any help at all.
root@weltall:/usr/ports# php-cgi -v
PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cgi-fcgi) (built: May 24 2008 17:25:53)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
Thanks in advance for any help.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Working with CVS?||Zmyrgel||OpenBSD General||15||6th October 2009 01:32 PM|
|wireless not working.||bsdnewbie999||OpenBSD General||17||19th July 2009 03:06 AM|
|lighttpd + PHP on OpenBSD 4.5||amscotti||OpenBSD Packages and Ports||6||24th June 2009 11:43 AM|
|pf: why is that rule not working?||ivanatora||FreeBSD General||14||11th December 2008 09:32 AM|
|USB not working after suspend||stukov||Other BSD and UNIX/UNIX-like||5||11th August 2008 06:48 PM|