Problem: running command “composer install”, the error Warning: putenv() has been disabled for security reasons in” occurred.
In LNMP environment, the parameter “putenv” is disable by default.
Solution:
Go to php.ini and find disable_functions.
Then remove “putenv“.