Saturday, April 16, 2011

Configuring a stubborn PHP server

Saved me tons of time today...

I followed the documentation on PHP5 - Scripting Language

As a quick start guide you should run the next commands

Code:
sudo apt-get install php5-common php5 libapache2-mod-php5
sudo apt-get install php5-cli
sudo apt-get install php5-cgi
sudo apt-get install php5-mysql
Later you should run this command and select php5
Code:
a2enmod
And finally restart the apache2 daemon via
Code:
sudo /etc/init.d/apache2 restart
__________________
Entia non sunt multiplicanda praeter necessitatem
Ockham's Razor
v4sw6+9BCSUhw4+6ln5/6pr6Fck45ma7u7+9Lw2DVWXm0l6+9DLUViOscitee8$t3b9ADM ORSTen7+9a28s8Mr2g0 hackerkey.com
; ;