当前位置:网站首页>PHP Warning: putenv() has been disabled for security reasons in phar
PHP Warning: putenv() has been disabled for security reasons in phar
2022-08-02 05:48:00 【-阿布-】
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
原因
这个问题的原因主要是php为了安全问题,禁止putenv()这个函数。
解决方法
修改php的配置文件,php.ini
找到disable_function这个地方,把putenv去掉即可。
边栏推荐
猜你喜欢
股价屡创新低 地产SaaS巨头陷入困境 明源云该如何转型自救?
Nacos注册中心的部署与用法详细介绍
zabbix auto-discovery and auto-registration
MySql COUNT statistics function explanation
SphereEx苗立尧:云原生架构下的Database Mesh研发实践
MySQL高级SQL语句(二)
Practice on optimizing startup performance of VS Code
Ant three sides: MQ message loss, duplication, backlog problem, what are the solutions?
APP专项测试:流量测试
Xgboost报错ValueError:无效的形状:标签(1650 2)
随机推荐
Dataset: A detailed guide to the download link collection of commonly used datasets in machine learning
使用jOOQ 3.14合成外键在视图上写隐式连接
Leetcode周赛304
node安装和配置(node-v12.20.2-x64 ) 以及node版本切换介绍
Nacos客户端启动出现9848端口错误分析(非版本升级问题)
排雷小游戏(C语言)
node安装及环境变量配置
MySql -- 不存在则插入,存在则更新或忽略
selenium + robotframework的运行原理
MySql 5.7.38下载安装教程 ,并实现在Navicat操作MySql
Py's mlxtend: a detailed guide to the introduction, installation, and usage of the mlxtend library
mysql高阶语句(一)
rhce作业
Nodejs installation tutorial
How to install the specified version package with NPM and view the version number
Leetcode parentheses matching problem -- 32. The longest parentheses effectively
[数据集][VOC]眼睛佩戴数据集VOC格式6000张
Not annotated parameter overrides @NonNullApi parameter
Understand C operators in one article
Nacos installation detailed process