Installing PHP on Raspberry Pi(rate)Box October 21, 2015 05:44PM |
Registered: 9 years ago Posts: 2 |
Re: Installing PHP on Raspberry Pi(rate)Box October 21, 2015 06:21PM |
Admin Registered: 14 years ago Posts: 4,680 |
pacman -Sy pacman -S php php-cgi php-sqlite imagemagick php-gd
/opt/piratebox/lighttpd/lighttpd.conf
include "/opt/piratebox/conf/lighttpd/fastcgi.conf"
#-------------------- FAST CGI stuff server.modules += ( "mod_fastcgi" ) fastcgi.server = ( ".php" => (( "bin-path" => "/usr/bin/php-cgi", "socket" => "/tmp/php.socket", "max-procs" => 1 )) )
systemctl restart piratebox
Re: Installing PHP on Raspberry Pi(rate)Box October 21, 2015 06:35PM |
Registered: 9 years ago Posts: 2 |