时间:2021-07-01 10:21:17 帮助过:3人阅读
sudo apt-get install apache2 sudo apt-get install mysql-server sudo apt-get install php5 libapache2-mod-php5 php5-mysql
sudo ln -s /home/username/php /var/www/php
sudo /etc/init.d/apache2 restart
sudo apt-get install php5-gd sudo apt-get install libapache2-mod-auth-mysql sudo apt-get install mysql-client sudo apt-get install libapache2-svn // 在/etc/init.d/apache2/mods-enabled/php5.conf中添加下面一行 AddType application/x-httpd-php .php .phtml .php3