1. sudo apt-get install apache2
2. sudo apt-get install php5
3. sudo /etc/init.d/apache2 restart
4. sudo apt-get install mysql-server
5. sudo apt-get install mysql-admin
6. sudo apt-get install libapache2-mod-auth-mysql
7. sudo apt-get install php5-mysql
8. sudo apt-get install phpmyadmin
9 sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin
10. sudo vi /etc/php5/apache2/php.ini
;extension=mysql.so ---> extension=mysql.so
11. sudo /etc/init.d/apache2 restart
阅读(1878) | 评论(0) | 转发(0) |