Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Phpmyadmin Error After Installation  (Read 1412 times)

0 Members and 1 Guest are viewing this topic.

nidhinjo

  • Guest
Phpmyadmin Error After Installation
« on: May 05, 2018, 10:51:55 pm »

After successful installation, phpmyadmin; i,e. domain.com or ip/phpmyadmin will return an error:

Not Found

The requested URL /phpmyadmin was not found on this server.


Apache/2.4.7 (Ubuntu) Server at x.x.x.x Port 80

Steps

Code: [Select]
1. sudo apt-get update
2. sudo apt-get install phpmyadmin
Note:  Steps 1 and 2 is when doing fresh installation of phpmyadmin
Code: [Select]
3. Select Apache2
Should you get a 404 "Not Found" error when you point your browser to the location of phpMyAdmin (such as: http://localhost/phpmyadmin) the issue is likely caused by not checking the 'Apache 2' selection during installation. To redo the installation run the following:


Code: [Select]
sudo dpkg-reconfigure -plow phpmyadmin
Then select Apache 2 for the webserver you wish to configure.


If this does not work, then you can do the following to include the phpMyAdmin-shipped Apache configuration into Apache:
 


Code: [Select]
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf

sudo /etc/init.d/apache2 reload

:)