0

I am trying to install facebook php business sdk but I am getting below Fatal error.

I used the below command composer require facebook/php-business-sdk But I am below fatal error Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 134217736 bytes) in phar:///opt/cpanel/composer/bin/composer/src/Composer/DependencyResolver/RuleSet.php on line 83 For reference please find the below image enter image description here

0

Memory Limit issue,

Primarily you can use the following command

COMPOSER_MEMORY_LIMIT=-1 composer require <package-name>

Permanently, you need to update the PHP memory limit.

2
  • but i am getting like this Could not open input file: composer.phar – somutesting Dec 15 '20 at 8:06
  • i has increase the memory limit even though i am getting above error – somutesting Dec 15 '20 at 8:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.