ubuntu下php运行环境配置
用到的命令就下面的几条:
sudo apt-get install apaceh2 sudo apt-get install php5 sudo apt-get install libapache2-mod-php5 sudo /etc/init.d/apache2 restart
如果需要用到mysql:
sudo apt-get install libapache2-mod-auth-mysql sudo apt-get install php5-mysql sudo /etc/init.d/apache2 restart