Tutorial Install PHPMyadmin di Ubuntu 10.10
Installing phpmyadmin on Ubuntu Linux 10.10 and apache2 can give you some problems. The simple apt-get install sometimes isn’t enough. I’ve got this problem today, here’s how I solved it:
Installing PHP, Apache, MySQL and phpmyadmin on Linux (LAMP: Linux, Apache, Mysql, PHP)
It’s ultra-easy:
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo apt-get install mysql-server
Now fill your informations about the root and MySQL Admin’s passwords. And finally:
sudo apt-get install phpmyadmin
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo apt-get install mysql-server
Now fill your informations about the root and MySQL Admin’s passwords. And finally:
sudo apt-get install phpmyadmin
If you can access http://localhost/phpmyadmin – you are lucky! it works! Otherwise, let’s try to fix it:
1) A symlink must be missing. Try to create one:sudo ln -s /usr/share/phpmyadmin /var/www
2) Change apache’s configuration file:
sudo gedit /etc/apache2/apache2.conf
add the following line to the conf file:
Include /etc/phpmyadmin/apache.conf
sudo gedit /etc/apache2/apache2.conf
add the following line to the conf file:
Include /etc/phpmyadmin/apache.conf
After each modification, you may want to restart apache. To do so, use the following command:
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/apache2 restart
0 comments:
Posting Komentar