Comments on Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On OpenSUSE 13.1

Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On OpenSUSE 13.1 Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on an OpenSUSE 13.1 server with PHP5 support (through PHP-FPM) and MySQL support. PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites. I use PHP-FPM in this tutorial instead of Lighttpd's spawn-fcgi.

1 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Klaus

Thanks for sharing. Using this guide on a freash install OpenSUSE 13.1 I ran in to 2 problems. At first lighttpd refused to start. It turned out that there was no /etc/systemd/system/lighttpd.service on my system. After creating this lighttpd started up.

Then smooth sailing until I reached socket setup. To reestablish connection I changed group in /etc/lighttpd/lighttpd.conf

server.groupname = "www"

And likewise in /etc/php5/fpm/php-fpm.conf

listen.group = www