Suddenly this line
$data_to_send = @file_get_contents($source);
giving me an error
{"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Allowed memory size of 536870912 bytes exhausted (tried to allocate 353912831 bytes)","file":"/home/forge/biossantibodies.com/app/commands/FileName.php","line":157}}
upgrade VM resources
I already upgrade my Linode VM to this plan already and still didn't seeing the error.
update PHP.ini
I checked my php.ini, and have updated to
cat php.ini | grep _max
log_errors_max_len = 1024
post_max_size = 2000M
upload_max_filesize = 2000M
session.gc_maxlifetime = 1440
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
restart php-fpm service
As you can see, I increase the memory allow to 2000M
already.
I also reboot my php-fpm right that
service php5-fpm restart
phpinfo()
- My changes seem to be reflected.
restart entire VM
I even tried to reboot the entire VM.
I still face the same issue, did I change the wrong file?
How do I double check?