I recently reinstalled CentOS on a server for a client and then proceeded to install their WordPress web site on the fresh install of CentOS Linux. After working through various minor issues the WP site was up and functioning without issue but after a week or so they contacted me to let me know that they could no longer view items in their FAQ system via the WordPress administration site. The FAQ system is a WordPress plugin called FAQ Builder and is a great little system for frequently asked questions. Below I describe the error received when attempting to access the FAQ Builder admin and what I did to resolve the issue.
PHP Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 491520 bytes) in /path/to/file
I received the below error during the process of a ZenCart shopping cart upgrade. The error was noticed when navigating through the ZenCart store admin via a web browser. I wanted to post a resolution because I wasn’t able to locate the exact resolution to my answer online and it took me awhile to locate the issue. Most of the resolutions I located on the Internet talked about modifying the post_max_size or other options located in the php.ini file however no matter what I changed these to I ended up receiving the same error.
Error: PHP Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 491520 bytes) in /path/to/file