当前位置:网站首页>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 configuration and single-machine deployment tutorial
- zabbix auto-discovery and auto-registration
- npm does not recognize the "npm" item as the name of a cmdlet, function, script file, or runnable program.Please check the spelling of the name, and if the path is included, make sure the path is corr
- Dataset:机器学习中常用数据集下载链接集合之详细攻略
- Thread Basics (1)
- APP special test: traffic test
- mysql索引失效的常见9种原因详解
- Machine learning -- - theory of support vector machine (SVM)
- [数据集][VOC]眼睛佩戴数据集VOC格式6000张
- Double for loop case (use js jiujiu printing multiplication table)
猜你喜欢
随机推荐
Node installation and configuration of environment variables
MySQL classic 50 practice questions and the most detailed analysis of the whole network
Difference between npm and yarn
Point Density-Aware Voxels for LiDAR 3D Object Detection Paper Notes
Node installation and environment configuration
Go inside the basic knowledge
从入门到精通的MySQL数据库视频教程
leetcode solves the linked list merge problem in one step
HCIP第十七天
love
MySQL 5.7 安装教程(全步骤、保姆级教程)
MySQL Index Common Interview Questions (2022 Edition)
直播系统聊天技术(八):vivo直播系统中IM消息模块的架构实践
Analysis of the source code of the JS UI framework of Hongmeng system
科技赋能拉萨之“肺”,华为助力拉鲁湿地智慧管理守护绿水青山
推出 Space On-Premises (本地部署版) Beta 版!
C# 编码规范手册
Machine learning -- - theory of support vector machine (SVM)
HCIP 第二天
npm 无法将“npm”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。








