PHP Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/vendor/composer/xdebug-handler/src/Process.php on line 149 Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/vendor/composer/xdebug-handler/src/Process.php on line 149 PHP Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/bin/composer on line 57 Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/bin/composer on line 57 PHP Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/vendor/composer/xdebug-handler/src/Process.php on line 149
Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/vendor/composer/xdebug-handler/src/Process.php on line 149
PHP Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/bin/composer on line 57
Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/bin/composer on line 57文章源自爱尚资源教程网-https://www.23jcw.net/4172.html
原因
这个问题的原因主要是php为了安全问题,禁止putenv()这个函数。文章源自爱尚资源教程网-https://www.23jcw.net/4172.html
解决方法
修改php的配置文件,php.ini
找到disable_function这个地方,把putenv去掉即可。文章源自爱尚资源教程网-https://www.23jcw.net/4172.html
文章源自爱尚资源教程网-https://www.23jcw.net/4172.html
相关文章
版权声明:文章图片资源来源于网络,如有侵权,请留言删除!!!