Linux > Plesk

Phpmyadmin Error After Installation

(1/1)

nidhinjo:

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: ---1. sudo apt-get update
2. sudo apt-get install phpmyadmin
--- End code ---
Note:  Steps 1 and 2 is when doing fresh installation of phpmyadmin

--- Code: ---3. Select Apache2
--- End code ---

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: --- sudo dpkg-reconfigure -plow phpmyadmin
--- End code ---

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: ---sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf

sudo /etc/init.d/apache2 reload
--- End code ---

:)

Navigation

[0] Message Index

Go to full version