Kloxo-mr下雅黑探针不显示内存等信息的解决方法

2014年02月9日

kloxo-mr安装和升级方法: https://www.myzhenai.com.cn/post/1691.html https://www.myzhenai.com/thread-16143-1-1.html
前段时间把kloxo升级了,现在变成kloxo-mr,但是一些常用的配置方法却改变了.首先发现的问题是雅黑探针不显示内存等信息了. 按照雅黑官方和网上的一些方法均没有解决问题,折腾了好多天.最后才在kloxo-mr的开发者和维护者MRatWork的帮助下解决了问题. 原文地址:https://forum.mratwork.com/kloxo-mr-technical-helps/php-detection-program-can-not-get-the-memory-and-cpu-information/

# vi /etc/php-fpm.d/admin.conf
;php_admin_value[open_basedir] = /home/admin/:/tmp/:/usr/share/pear/:/var/lib/php/session/:/home/kloxo/httpd/script/:/home/kloxo/httpd/disable/

# vi /etc/php-fpm.d/default.conf
;php_admin_value[open_basedir] = /home/admin/:/tmp/:/usr/share/pear/:/var/lib/php/session/:/home/kloxo/httpd/script/:/home/kloxo/httpd/disable/

# cp /home/php-fpm/tpl/php53-fpm-pool.conf.tpl /home/php-fpm/tpl/custom.php53-fpm-pool.conf.tpl
# vi /home/php-fpm/tpl/custom.php53-fpm-pool.conf.tpl
#$openbasedir = "/home/$user/:/tmp/:/usr/share/pear/:/var/lib/php/session/:".
# sh /script/fixweb
# sh /script/restart-web

 


sicnature ---------------------------------------------------------------------
Your current IP address is: 44.202.90.91
Your IP address location: 美国弗吉尼亚阿什本
Your IP address country and region: 美国 美国
Your current browser is:
Your current system is:
Original content, please indicate the source:
同福客栈论坛 | 蟒蛇科普海南乡情论坛 | JiaYu Blog
sicnature ---------------------------------------------------------------------
Welcome to reprint. Please indicate the source http://myzhenai.com.cn/post/1694.html

没有评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注