发布时间:2013-01-05 10:03:42
一、安装AMP环境(apache+mysql+php)1.apache2sudo apt-get install apache2 libapache2-mod-php52.mysqlsudo apt-get install mysql-server -5.0 mysql-common mysql-admin3.phpsudo apt-get install php5-mysql php5二、修改配置文件1.apache2在/etc/apache2/httpd.conf中添加AddType application/x-httpd-php .phpAddType applicatio......【阅读全文】