php探针不显示服务器实时数据信息的解决方法

2012年08月11日

方法有两种.
1: 打开Kloxo面板,在左侧控制导航里,依次打开域名 — 你的域名 — 网站 : apache — 其他设置,在 禁用Openbasedir 前打勾,然后保存.service httpd restart或service Lighttpd restart
2:可以尝试将proc目录的权限设置为默认的0555
在apache下修改方法
编辑“/home/httpd/域名/conf/kloxo.域名”这个文件。
比如,我绑定的域名是vvx.cc,那就编辑“/home/httpd/vvx.cc/conf/kloxo.vvx.cc”这个文件
删掉其中open_basedir部分的内容(一共有四处),然后重启service httpd restart,打开探针就会发现CPU信息和内存信息已经显示出来了。
在Lighttpd下修改方法
编辑/home/httpd/vvx.cc/php.ini
注释掉或删除open_basedir = /home/vvxcc::/tmp:/usr/share/pear:/home/httpd/vvx.cc:/var/lib/php/session:/home/kloxo/httpd/script:/home/httpd/vvx.cc/kloxoscript/
然后重启Lighttpd


sicnature ---------------------------------------------------------------------
Your current IP address is: 54.174.85.205
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://www.myzhenai.com.cn/post/736.html

没有评论

发表回复

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