add php gd (graphics directly) support in ubuntu
#sudo apt-get install php5-gd
then, restart web service
#sudo service lighttpd restart //or #sudo service apache2 restart
add php gd (graphics directly) support in ubuntu
#sudo apt-get install php5-gd
then, restart web service
#sudo service lighttpd restart //or #sudo service apache2 restart
web.py and lighttpd is full work currently.
quixote and lighttpd is fully work currendly.
try web.py with lighttpd.
try to enable python quixote with scgi on lighttpd.
get python-quixote
get python-scgi
quick start lighttpd with php in ubuntu(summary):
1. apt-get install lighttpd
2. apt-get install php5
3. apt-get install php5-cgi
4. apt-get install ligfcgi-dev
5. lighty-enable-mod fastcgi
6. /etc/init.d/lighttpd restart
ok create a php file in /var/www and open in you browser to test it.
lighttpd with php configuration has been finished. It speed a lots of time. but, currently, they are fully working. php with fastcgi model is better than mod_php of apache server.
I found command “lighty-enable-mod fastcgi” is very useful in this task.
tow useful tutorial about lighttpd + php configuration. 1. Lighttpd PHP fastcgi configuration
2. Setting up PHP with Lighttpd
two more new feature have been add to my vps, they are PHP5, php-cgi and fastcgi. I still setup for lighttpd + php for web server.
I have install follow service on my vps hosting:
samba – file and print server
lighttpd – a fast webserver
python – script language
ruby – script programming language
nginx, a lightweight http server proxy, it also support email proxy. it is developed by Russian programmer. by the way, nginx using BSD-like license.
lighttpd also is a lightweight http proxy, but lighttpd doesn’t support email proxy.