日期:2014-05-17 浏览次数:20468 次
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
<?php phpinfo(); ?>
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