composer 对包执行相关命令,报错
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4096 bytes)
命令行执行:
#composer 必须是全路径
php -d memory_limit=-1 /tmp/composer require kmf/ip-server
composer 对包执行相关命令,报错
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 4096 bytes)
命令行执行:
#composer 必须是全路径
php -d memory_limit=-1 /tmp/composer require kmf/ip-server