Comments on Installing Lighttpd With PHP5 And MySQL Support On CentOS 5.0
Installing Lighttpd With PHP5 And MySQL Support On CentOS 5.0 Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on a CentOS 5.0 server with PHP5 support (through FastCGI) and MySQL support.
3 Comment(s)
Comments
Following these steps, I encountered the following error when starting lighttpd after doing the PHP config:
bind failed for: unix:/var/run/lighttpd/php-fastcgi.socket-0
I found my solution here:
http://redmine.lighttpd.net/boards/2/topics/144
mkdir /var/run/lighttpd/
and chown it to the user you configured in lighttpd.
Sou Brasileiro e falo português. Escrevo na minha lingua local.
Excelente o post, está me ajudando muito, parabens!
Outra coisa importante, para quem está tendo problemas para ligar o lighttpd ou em dar restart a dica é:
Rode o comando:
mkdir /var/run/lighttpd/
(esse comando cria a pasta que falta na instalação que por algum motivo não está sendo criada automaticamente.)
e depois:
chmod 777 /var/run/lighttpd/
(esse comando da permição 777 a pasta que acabamos de criar)
Rode novamente o comando /etc/init.d/lighttpd restart
Problema resolvido!!!