(Laragon) Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes)
Go to laragon folder
open bin then php then php-7.2.19-win32-VC15-x64 and open php.ini file.
and after opening php.ini file search memory_limit and you will probably get memory_limit=512M
and you have to change the memory_limit from 512 to -1.
In this link https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors it is mentioned that:
Use -1 for unlimited or define an explicit value like 2GNow, restart laragon and in the terminal you can install your desired composer package example:
composer require tymon/jwt-auth
Thanks
Comments
Post a Comment