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
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.
php5-common is allready
php5-gd ok
php5-gmp ok
php5-mysql ok
php5-pgsql ok
php5-pspell ok
php5-mhash ok
php5-xmlrpc ok
php5-xsl ok
try to enable some module of php5:
php5-common
php5-gd
php5-gmp
php5-mysql
php5-pgsql
php5-pspell
php5-mhash
php5-xmlrpc
php5-xsl
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.