Admin-Ahead Community
Linux => Control Panels => Plesk => Topic started by: nidhinjo 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
1. sudo apt-get update
2. sudo apt-get install phpmyadmin
Note: Steps 1 and 2 is when doing fresh installation of phpmyadmin
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:
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:
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
sudo /etc/init.d/apache2 reload
:)