Phpmyadmin Error After Installation

 

 

Tested Environment

  • Linux plesk cloud servers without plesk panel
  • Ubuntu 14.04

Overview

  • 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

  • Resources: https://help.ubuntu.com/community/phpMyAdmin
  • 0 Usuários acharam útil
Esta resposta lhe foi útil?

Artigos Relacionados

How can to increase the maximum attachment in webmail?

You need to increase the PHP directives below from the php.ini (/etc/php.ini) file....

Blank page in Horde webmail

When opening an email from Horde webmail, the frame that's suppose to show the message came up as...

Allow directory listing in Linux VPS

To allow directory listing or directory browsing in your Linux VPS, create a .htaccess file (Yes,...

Upgrading PHP

By default, PHP that's on Linux VPS is version 5.1.6. In case your web application requires...

How to import/export mysql database from SSH?

From SSH command line, issue the following command:mysql -u username -p database_name <...