Skip to content

Instantly share code, notes, and snippets.

View hassanrazadev's full-sized avatar
🏠
Working from home

Hassan Raza hassanrazadev

🏠
Working from home
View GitHub Profile
@hassanrazadev
hassanrazadev / comopserinstall.md
Last active May 1, 2023 17:13 — forked from huzaifa-a/comopserinstall.md
composer install with php memory limit

we can get the composer path from composer help command

 php -d memory_limit=-1 /usr/sbin/composer install  --no-interaction --prefer-dist --optimize-autoloader

============ RUN composer with multiple versions of PHP

To run composer with specific version of PHP use

PATH_TO_PHP\php.exe PATH_TO_COMPOSER\composer.phar install