Centos7 安装 Lumen
Composer 安装Lumen
composer create-project laravel/lumen blog
安装Lumen遇到的问题&解决
报错1
PHP Warning: putenv() has been disabled for security reasons in phar:///usr/bin/composer/vendor/composer/xdebug-handler/src/Process.php on line 149
原因:putenv()
函数被限制(disabled);
方案:找到PHP配置文件将禁用的函数移除。
报错2
[ErrorException]
pcntl_signal() has been disabled for security reasons
方案:处理方法同报错1。
报错3
[ErrorException]
pcntl_signal() has been disabled for security reasons
方案:处理方法同报错1。
本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!