PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (Fog 1.2.0 missing FOG_MEMORY_LIMIT)
Fog 1.2.0/Kernel 3.14.2
I am currently getting the below error every time I try and run a report for user login hist. I read many posts where Fog Settings/General Settings/FOG_MEMORY_LIMIT resolves this issue, but i do not have that option. Is there a work arround for this?
[Mon Feb 29 13:47:54.355826 2016] [:error] [pid 17786] [client x.x.x.x:xxxxx] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /var/www/fog/lib/fog/FOGBase.class.php on line 53, referer: http://fogserver/fog/management/index.php?node=report
Ubuntu 14.04.2 LTS
@lastchance12 What operating system and version?
Also, glad you got it working.
That was the fix. I just came back to post that I changed the php.ini file to 1024M, rebooted and it loaded the user login hist. For anyone else with this issue the file is located in /etc/php5/apache2 and I had to change permissions before making the change. Thanks for your help Wayne.
1.2.0 doesn’t have that I think. But you can still change it manually.
php.ini, and change the value of it. If there is no
memory_limitfound, add the following line at the end of php.ini
memory_limit = 128M ;
Change the 128M to your needs
Save file and then Restart Apache.