Monday, September 4, 2017

Setting up lighttpd PHP

Setting up lighttpd PHP


lighttpd is lighter, faster http server available out there and now its much more easier to setup.

Install lighty

sudo apt-get -y install lighttpd 

Enable FastCGI module

sudo lighttpd-enable-mod fastcgi sudo /etc/init.d/lighttpd restart 

Install PHP support

sudo apt-get -y install php5-cgi

Setup MySQL

sudo apt-get -y install php5-mysql mysql-server phpmyadmin cd /var/www ln -s /usr/share/phpmyadmin/ phpmyadmin sudo /etc/init.d/lighttpd restart 

Goto http://localhost/phpmyadmin/ and enjoy mysql management console.

Thats it, now you have a lighttpd server that can crunch PHP pages.


download file now

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.