标签:生产环境 line proc RoCE putenv led war 生产 isa
PHP Warning: putenv() has been disabled for security reasons in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/xdebug-handler/src/Process.php on line 160
Warning: putenv() has been disabled for security reasons in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/xdebug-handler/src/Process.php on line 160
PHP Warning: putenv() has been disabled for security reasons in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer on line 57
Warning: putenv() has been disabled for security reasons in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/bin/composer on line 57
出现这样的错误是因为禁用了putenv()这个函数,新手(比如我)在安装时就遇到这个问题,一般只是Linux宝塔的环境会提示,只需要到PHP里把禁用的这个函数给删除就行了,生产环境的话安装完后再加上,该函数是用来设置环境变量的
标签:生产环境 line proc RoCE putenv led war 生产 isa
原文地址:https://www.cnblogs.com/xfstu/p/12354933.html