Friday, March 17, 2017

Second laravel project(v5.4) PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes)

this is my second laravel project running on the same machine. the first works just fine.

I use xampp for the projects.

after I install another fresh new version(5.4) laravel, when I run

artisan serve

phpstorm tell me

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in E:\xampp\htdocs*****\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 549

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in E:\xampp\htdocs*****\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 549

Process finished with exit code 255 at 13:58:28. Execution time: 4,976 ms.

I tried other post about this, and tried to change php.ini. It does not apply to my case.



via user228

Advertisement