Category : out-of-memory

I’m using php 7.4 in Laravel Homestead and edited this file etc/php/7.4/fpm/php.ini And set memory_limit = -1 I reloaded homestead and checked phpinfo() in the HomeController and it’s been changed to -1 but every time I try to install socialite composer require laravel/socialite I get PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted ..

Read more

I tried to use TemplateProcessor (phpword in laravel 7) to create a docx from a defined template but i got this error : FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in ****/vendor/phpoffice/phpword/src/PhpWord/Shared/ZipArchive.php on line 131 PHP message: PHP Fatal error: Allowed ..

Read more