• 首页
  • 数据库
    • mysql
  • web服务器
    • nginx
    • Apache
  • 操作系统
    • Centos
    • Debian
    • Ubuntu
    • mac
    • windows
  • 编程语言
    • html
    • php
  • 集群
    • mycat
  • 其它
欢迎光顾我的个人博客
  1. 首页
  2. 文章
  3. 其它
  4. 正文

putenv() has been disabled for security reasons [srv_status.php:22 → require_once() → ZBase->run() →

2020年05月29日 1597点热度 0人点赞 0条评论

Zabbix部署错误之putenv
测试环境
Zabbix报错了
问题分析
解决方案
Zabbix安装步骤参考
测试环境
CentOS-7-x86_64-DVD-1810.iso
宝塔面板 6.9.8
LNMP
Nginx 1.16.0
MySQL 5.7.26
PHP-7.2
Zabbix
Zabbix报错了

putenv() has been disabled for security reasons [srv_status.php:22 → require_once() → ZBase->run() → ZBase->initLocales() → putenv() in include/classes/core/ZBase.php:331]
putenv() has been disabled for security reasons [srv_status.php:22 → require_once() → ZBase->run() → ZBase->initLocales() → putenv() in include/classes/core/ZBase.php:332]
putenv() has been disabled for security reasons [srv_status.php:22 → require_once() → ZBase->run() → ZBase->initLocales() → putenv() in include/classes/core/ZBase.php:333]

问题分析

putenv()出于安全原因被禁用了。

解决方案

宝塔面板|软件商店|PHP对应版本的设置中:
禁用函数里面,删除putenv。

在这里插入图片描述
标签: Zabbix
最后更新:2020年05月29日

多洛夫

多看多想多研究,总会有创新

点赞
< 上一篇
下一篇 >

文章评论

取消回复

多洛夫

多看多想多研究,总会有创新

博客更新日期
2025 年 6 月
一 二 三 四 五 六 日
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« 7 月    
分类
标签聚合
haproxy Termux DNS ffmpeg centos 谷歌浏览器插件 Photoshop Yandex php Launchctl Shell 视频截图 google插件 图片格式转换 Google wordpress mysql lls 域名邮箱 mac

© 2020 多洛夫