xxxxxxxxxx
if you just step the laravel project then it is related to
file permission change the permission of the folder
chmod -R 777 path_of_project
Happy Coding :)
xxxxxxxxxx
<?php
ini_set('memory_limit', '1024M'); // or you could use 1G
?>
xxxxxxxxxx
ini_set('memory_limit', '1024M'); // 1GB
// OR
ini_set('memory_limit', '-1'); // unlimited memory (may cause a memory leak)
xxxxxxxxxx
//insted of
composer require illuminate/support
//Run following command
COMPOSER_MEMORY_LIMIT=-1 composer require illuminate/support
xxxxxxxxxx
//Allowed memory size of 134217728 bytes exhausted (tried to allocate 65015808 bytes)
<?php
ini_set('memory_limit', '1024M');
?>
Or
set in php.ini
memory_limit = -1
xxxxxxxxxx
set COMPOSER_MEMORY_LIMIT=-1
xxxxxxxxxx
Fatal error: Allowed memory size of 1610612736 bytes exhausted
export COMPOSER_MEMORY_LIMIT=-1
and restart composer update
xxxxxxxxxx
php -d memory_limit=-1 /usr/local/bin/composer install
xxxxxxxxxx
composer self-update
xxxxxxxxxx
for wordpress problem in wp-config.php add
-------------------------
ini_set('memory_limit', '1024M');