Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache is running but phpmyadmin shows blank page

After installing xampp in my computer yesterday, it worked normally along the day. Today, I am about to continue my project. Apache and MySQL are running but localhost/phpmyadmin in my browser is showing blank page without any error message, just totally white screen. Then I am trying to open my application, localhost/stationaryshop, it is working properly including CRUDE process without any problem. Even if xampp control panel is run as administrator, it also couldn't work. How could I fix this? I use xampp v3.2.2, and windows 7.

like image 254
dede Avatar asked Dec 05 '16 10:12

dede


People also ask

Why phpMyAdmin is not working on localhost?

You may receive an error message stating that phpMyAdmin needs a PHP version within a specific range. This might happen if you're running an outdated version of PHP, or a new update is not compatible with your version of MAMP. In this case, you”ll need to change the PHP version of your MAMP application.

How do I access phpMyAdmin in Apache?

Access the phpMyAdmin console through the secure SSH tunnel you created, by browsing to http://127.0.0.1:8888/phpmyadmin. Log in to phpMyAdmin by using the following credentials: Username: root. Password: application password.

Do you need Apache to run phpMyAdmin?

Prior to installing phpMyAdmin, you should ensure that Apache web server, MySQL server and PHP packages are installed.

How do I know if phpMyAdmin is working?

Check if phpMyAdmin is Working. Finally, we can open phpMyAdmin utility by entering in your server's IP address in a browser's address bar with the addition /phpmyadmin string like so – 127.0. 0.1/phpmyadmin. There you should see the login screen.


1 Answers

None of these answers worked for me.

First I was able to debug the issue by running:

php index.php

On the command-line in the phpmyadmin folder.

It said there was a memory size exhausted but it was only trying to allocate 4Mb when my php memory limit was actually 1Gb.

However when I looked in the php.ini file I had set the memory_limit to:

1GB instead of the correct syntax of 1G.

Remember the correct syntax is G for Gigabytes and M for Megabytes. Once that was corrected phpmyadmin was finally loading properly.

like image 175
frezq Avatar answered Sep 21 '22 22:09

frezq