1.

apt-get install apache2

2.

apt-get install php5 libapache2-mod-php5 php5-gd php5-curl php-pear

3.

apt-get install mysql-server mysql-client php5-mysql

4.

apt-get install phpmyadmin

5.

sudo ln -s /usr/share/phpmyadmin /var/www

最后打开:

[http://localhost/phpmyadmin][1] 

成功!

标签: ubuntu, php, mysql, apache

添加新评论