Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
240
rated 0 times [  240] [ 0]  / answers: 1 / hits: 504881  / 1 Year ago, mon, april 3, 2023, 6:08:12

Recently I have install the PHP, Apache, MySQL, phpMyAdmin, python in my Ubuntu Desktop 12.04.3 LTS to use it as a LAMP server. The commands I used to install these are given below:



1: sudo passwd
2: su
3: apt-get install php5
4: apt-get install apache2
5: apt-get install mysql-server mysql-client
6: apt-get install phpmyadmin
7: apt-get install python
8: apt-get install python-mysqldb
9: ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
10: /etc/init.d/apache2 restart


Then everything works fine. The LAMP server runs great. Then i thought to upgrade the whole LAMP server I mean the PHP, Apahce, MySQL, phpMyAdmin etc. Then I searched in google and get some ppa which got the latest versions of these softwares. Then I added those ppa. The ppa links:



1. https://launchpad.net/~tuxpoldo/+archive/phpmyadmin
2. https://launchpad.net/~ondrej/+archive/mysql-5.6
3. https://launchpad.net/~ondrej/+archive/apache2
4. https://launchpad.net/~ondrej/+archive/php5


Then is used these ppa and firstly upgraded the phpmyadmin then MySQL server then Apache and then PHP.
After upgradation of phpmyadmin and mysql server the whole LAMP server runs well with the updated mysql server and phpmyadmin. But after the upgradation of Apache and PHP the phpmyadmin is not showing up. When I try:



http://127.0.0.1/phpmyadmin


it says "Not Found".



How can I sove this problem with the phpmyadmin?? Please help me as fast as you can. I am in great trouble for this.



Thanks in advance.


More From » apache2

 Answers
0

Create a link in /var/www like this:



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



Note: since 14.04 you may want to use /var/www/html/ instead of /var/www/



If that's not working for you, you need to include PHPMyAdmin inside apache configuration.



Open apache.conf using your favorite editor, mine is vim :)



sudo vim /etc/apache2/apache2.conf



Then add the following line:



Include /etc/phpmyadmin/apache.conf



For Ubuntu 15.04 and 16.04




  • sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf

  • sudo a2enconf phpmyadmin.conf

  • sudo service apache2 reload


[#28098] Monday, April 3, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kneducator

Total Points: 226
Total Questions: 111
Total Answers: 108

Location: Mexico
Member since Sun, Jul 25, 2021
3 Years ago
kneducator questions
Tue, Dec 6, 22, 09:22, 1 Year ago
Sun, Apr 30, 23, 23:26, 1 Year ago
Tue, Jun 8, 21, 01:25, 3 Years ago
Sun, Mar 12, 23, 10:51, 1 Year ago
;