Yogendrasinh
Yogendrasinh

Reputation: 895

phpmyadmin not opening and showing "The page isn't working HTTP ERROR 500"

enter image description here

Below is my apache2 php.ini log file line which shows Fatal error.

[Thu Jan 23 11:21:04.634143 2020] [php7:error] [pid 9929] [client ::1:56044] PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 65536 bytes) in /usr/share/phpmyadmin/libraries/common.inc.php on line 144

I have tried to solve this issue by increasing memory_limit by 4gb but still i am getting this error and it won't open the PHPMYADMIN.

Also when i am running any Project code then it runs properly if any file does not containg exit() OR die(). If i wrote exit() OR die() in any file then the project stops working.

I don't understand what is the issue.

Upvotes: 1

Views: 7367

Answers (3)

Ahmed Adewale
Ahmed Adewale

Reputation: 3143

For me I just started apache and then refresh phpmyadmin tab boob it works

Upvotes: 0

Anthony
Anthony

Reputation: 675

If not fixed by the above then very likely to be missing json support on Cent OS 8

yum install php-json

I spent ages trying to figure out why following everyone's instructions on how to install phpmyadmin which resulted "in this page isn't working" hopefully this will save someone's time!

Upvotes: 0

vishal melwani
vishal melwani

Reputation: 314

check your php.ini in apache config check below

   memory_limit = 256M
   upload_max_size = 64M
   post_max_size = 64M
   upload_max_filesize = 64M
   max_execution_time = 300
   max_input_time = 1000

or

you can set memory_limit = -1 to resolve this issues.

Upvotes: 2

Related Questions