Skip to main content

Posts

Showing posts from August, 2011

install lighttp + postgresql di ubuntu

-- back from old day--
long time since write my latest post. Now, it's time to write again.... ^_^
starting with this tittle..

--1--
just simple as usually, type this command on your terminal
$ sudo apt-get install postgresql postgresql-client libpq-dev postgresql-client-common lighttpd php5-cgi php5-pgsql php5-cli
--2--
edit "php.ini" on
vi /etc/php5/cgi/php.ini ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. ; http://php.net/cgi.fix-pathinfo cgi.fix_pathinfo=1
then run this command To enable the fastcgi configuration
sudo lighttpd-enable-mod fastcgi sudo lighttpd-enable-mod fastcgi-php sudo /etc/init.d/lighttpd force-reload
--test & jajal--
create php file on /var/www containing :
<?php phpinfo(); ?>