troubleshooting Question

phpmyadmin memory error

Avatar of Daniele Brunengo
Daniele BrunengoFlag for Italy asked on
LinuxPHP* CentOSMySQL ServerApache Web Server
55 Comments1 Solution2445 ViewsLast Modified:
Hello, I have a problem on my CentOS 6.5 server related to phpmyadmin.

If I click on Export (not for a particular database, but for all the databases) I get a 500 error, which translated into this error in the Apache log:
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 256 bytes) in /var/www/html/phpmyadmin/libraries/dbi/DBIMysqli.class.php on line 299 

I have tried increasing memory limit up to 512MB in php.ini, but I keep getting this error after restarting apache.

I have also updated phpmyadmin to the latest version my php version allows, but I still get the error.

There are no errors listed in phpmyadmin home page, the configuration should be ok.

Versions: phpmyadmin 4.4.15.10, php 5.4.45, mysql 5.5.48

I managed to export the databases from the command line, so that's no problem, but I'd like to get rid of this error.

There is a ton of php scripts running on the server, but the only memory error I get is this one.

Does anyone have any suggestion?
ASKER CERTIFIED SOLUTION
Chris Jones
Senior Systems Administrator

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 55 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 55 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros