1

I am trying to install phpMyAdmin on LAMP on Azure. Everything is working properly, I just checked my server .net/info.php.

I succesfully installed phpMyAdmin using this command:

sudo apt-get install phpmyadmin

But when I go to:

.net/phpmyadmin/

I get the following 404 error on browser tab. What can i do?

"Not Found The requested URL /phpmyadmin/ was not found on this server. Apache/2.4.7 (Ubuntu) Server at ".net" Port 80"

2
  • When you say, “Everything is working properly, I just checked my server .net/info.php.” Where was that successful test done in comparison to where the error is happening? – Giacomo1968 Mar 10 '15 at 19:15
  • i did two things: 1. i installed php and created a testfile. 2. i installed phpmyadmin. i checked the first thing by opening the url .net/info.php. it worked. the problem now is that i can not open the url .net/phpmyadmin/. @JakeGould – Moritz Mar 10 '15 at 20:38
1

Since Ubuntu 13.10 (Saucy Salamander), Apache loads configuration files from the /etc/apache2/conf-available directory which is managed with the a2enconf command.

Therefore if you need to manually include the phpMyAdmin-shipped Apache configuration file you must run the following:

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf   
sudo a2enconf phpmyadmin  
sudo /etc/init.d/apache2 reload

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.