I've installed phpmyadmin sudo apt-get install phpmyadmin
. Of course, I have also mysql and a web server running properly.
Now how can I reach it?
I've installed phpmyadmin sudo apt-get install phpmyadmin
. Of course, I have also mysql and a web server running properly.
Now how can I reach it?
Did you try
http://localhost/phpmyadmin
?Edit: Do this first
add this line somewhere
and finally restart apache.
You probably skiped the configure from the package.
Try this cli:
And when it choose the webserver to configure, select apache.
It depends on your configuration.
From my experience, I may reach with localhost/phpmyadmin but fail to login, I have to reconfigure phpmyadmin, reset MySQL password, and then I may login without problems.
sudo dpkg-reconfigure phpmyadmin
unix socket
root
mysqlsamplepassword
root
phpmyadmin
apache2
sudo dpkg-reconfigure mysql-server-5.5
mysqlsamplepassword
mysqlsamplepassword
But if your problem is fail to interpret php, follow the instruction to enable your php first.
sudo gedit /etc/apache2/mods-available/php5.conf
#
in front ofphp_admin_value engine off
to disable it.sudo /etc/init.d/apache2 restart
Wish it helps!
Have a nice day!
If you have changed the port in which Apache is listening on, default is 80;
sudo nano /etc/apache2/ports.conf
look for the Listen port should look like
Listen 80
if that port is diffrent in order to get into phpmyadmin your url must point to that port
example
localhost:port/phpmyadmin/
change the port number to the one you have in the /etc/apache2/ports.conf