phpMyAdmin does not work on Ubuntu 16.04.1

2

Install Ubuntu 16.04.1 on a computer and I'm trying to install a local server, and install Apache2, php, MySQL and Phpmyadmin. When you open the browser and enter the address localhost/phpmyadmin you can not find the page.

Now look for options to solve the problem without success. Can anyone give me information about the problem mentioned above?

    
asked by Carlos Uriel 14.10.2016 в 07:04
source

3 answers

1

To install phpmyadmin in Ubuntu 16.04 you must run:

apt-get install phpmyadmin

During the process you will be asked if you want to manage and install a database with dbconfig-common , after which you will be asked for the user's key root of the database and a key (option, which you can pass by pressing < kbd> Enter to generate a random) for internal data of the application phpmyadmin and, finally, if you want to configure it on the server apache2 or lighttpd .

It will create a configuration in /etc/apache2/conf-available/phpmyadmin.conf that you can activate or deactivate with the commands a2enconf phpmyadmin and a2disconf phpmyadmin , after which you must execute a reload of the server configuration apache2 with the command service apache2 reload .

I recommend you execute that command also after the installation of phpmyadmin or after modifying any configuration file of apache2 , installation of PHP modules, etc.

Remember to preinstall server mysql-server or execute dbconfig-commmon will fail.

If for any reason you ignored any installation error message and want to repeat the process again, use the dpkg-reconfigure phpmyadmin command.

    
answered by 14.10.2016 / 11:59
source
2

Try following the steps in this video .

I had the same problem as you and there is a part of the video where you are asked to use the command:

sudo ln -s /usr/share/phpmyadmin /var/www/htmal/phpmyadmin 

After this you reload the search engine and the PHPMyAdmin page should already appear indicating that your server is working.

    
answered by 13.10.2017 в 03:21
1

More information is needed in this regard.

Can the server work with PHP ? and / or Have you already set up your MySQL root account?

If there is any doubt about the configuration, the following link will take you to an article in English that explains how to carry out the installation correctly: Link

Regarding the installation of phpMyAdmin you can find it at the following link: Link

    
answered by 14.10.2016 в 08:21