当前位置:网站首页>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 149Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/vendor/composer/xdebug-handler/src/Process.php on line 149PHP Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/bin/composer on line 57Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/bin/composer on line 57PHP 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去掉即可。
边栏推荐
- Nacos installation detailed process
- zabbix自动发现和自动注册
- 代码编世界 科技创未来
- Technology empowers Lhasa's "lungs", Huawei helps Lalu Wetland Smart Management to protect lucid waters and lush mountains
- Thread Basics (1)
- rhce作业
- MySQL高级语句(一)
- APT + Transform to realize multi module Application distributed Application life cycle
- MySQL Advanced - MVCC (ultra-detailed finishing)
- The installation of NPM, CNPM
猜你喜欢

leetcode-338.比特位计数

蚂蚁三面:MQ 消息丢失、重复、积压问题,有哪些解决方案?

Toolbox App 1.25 New Features at a Glance | Version Update

8/1 思维+扩展欧几里得+树上dp

Nodejs installation and global configuration (super detailed)

MySQL Advanced SQL Statements

The installation of NPM, CNPM

zabbix自动发现和自动注册

How the Internet of Things is changing the efficiency of city operations

Leading the demand and justifying the HR value - the successful launch of the "Human Resource Leading Model HRLM"
随机推荐
DNS resolution process
科技赋能拉萨之“肺”,华为助力拉鲁湿地智慧管理守护绿水青山
node安装和配置(node-v12.20.2-x64 ) 以及node版本切换介绍
Understand C operators in one article
秒杀系统小demo
MySQL 23道经典面试吊打面试官
MySQL database video tutorial from beginner to proficient
MySQL高级学习笔记
c语言指针运算
MarkDown Formula Instruction Manual
MySQL driver jar package download -- nanny tutorial
看图就懂|衡量业务增长健康的销售指标如何选择
Xgboost报错 ValueError: Invalid shape: (1650, 2) for label
node安装及环境变量配置
Guarantee WIFI security in home and enterprise-with AC and AP networking experiment
HCIP 第一天
postgres 多个变量填充字符串,字串格式化
Reverse resolve dns server
Node的安装与环境变量的配置
rhce作业