Question

How to access to phpmyadmin

Hi, I installed phpmyadmin following: How To Install and Secure phpMyAdmin with Nginx on an Ubuntu 14.04 Server

I ran:

sudo apt-get install phpmyadmin

I selected No for dbconfig-common since I already have database installed.

sudo ln -s /usr/share/phpmyadmin /usr/share/nginx/html
sudo php5enmod mcrypt
sudo service php5-fpm restart

```
When I goto http://159.203.85.69/phpmyadmin or http://159.203.85.69/phpmyadmin:8000
I got page not found error.

I website is using PHP and Laravel 5.1.

How can I remotely use phpmyadmin? Thanks.
Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Do this first

sudo gedit /etc/apache2/apache2.conf

add this line somewhere

Include /etc/phpmyadmin/apache.conf

and finally restart apache.

/etc/init.d/apache2 restart

The db-config request is to set up the database used by phpmyadmin and set up your credentials so it can connect with your db server. It does not overwrite your current tables. Without this step you will have to manually configure phpmyadmin by editing /etc/phpmyadmin/config.inc.php

E: Unable to locate package php5 E: Unable to locate package php5-mysql E: Unable to locate package mysql-server

HI,

i had choosed retry option while installation. and now it is not installing it is showing phpmyadmin : Depends: libjs-sphinxdoc (>= 1.0) but it is not installable Depends: dbconfig-mysql but it is not installable or dbconfig-no-thanks but it is not installable or dbconfig-common (< 2.0.0) but it is not installable Recommends: php-curl Recommends: php-gd Recommends: php-bz2 Recommends: php-zip Recommends: php-tcpdf but it is not installable E: Unable to correct problems, you have held broken packages.

please help me