# sudo su # apt-get install mysql-server mysql-client # apt-get install lighttpd # apt-get install php5-fpm php5-cgi php5-mysql php5 # vim /etc/php5/fpm/php.ini ;주석 해제cgi.fix_pathinfo=1 # vim /etc/lighttpd/conf-available/15-fastcgi-php.conf fastcgi.server += ( ".php" => (( "socket" => "/var/run/php5-fpm.sock", "broken-scriptfilename" => "enable" )) ) # lighttpd-enable-mod fastcgi # lighttpd-enab..