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.
3
Answers
check your php.ini in apache config
check below
or
you can set memory_limit = -1 to resolve this issues.
If not fixed by the above then very likely to be missing json support on Cent OS 8
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!
For me I just started apache and then refresh phpmyadmin tab boob it works