勿忘初心

系统信息获取

勿忘初心 - 2020-07-22

安装插件后,系统信息出现以下错误,不知道是什么原因,没能识别出服务器数据,Opcache及Memcached的数据可以出来
系统 Linux
配置
Warning: file_get_contents(): open_basedir restriction in effect. File(/proc/cpuinfo) is not within the allowed path(s): (/www/wwwroot/www.域名.com/:/tmp/) in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 85

Warning: file_get_contents(/proc/cpuinfo): failed to open stream: Operation not permitted in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 85

Warning: file_get_contents(): open_basedir restriction in effect. File(/proc/meminfo) is not within the allowed path(s): (/www/wwwroot/www.域名.com/:/tmp/) in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 89

Warning: file_get_contents(/proc/meminfo): failed to open stream: Operation not permitted in /www/wwwroot/www.xieyinwang.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 89
1核CPU / 0G内存
运行时间
Warning: file_get_contents(): open_basedir restriction in effect. File(/proc/uptime) is not within the allowed path(s): (/www/wwwroot/www.域名.com/:/tmp/) in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 107

Warning: file_get_contents(/proc/uptime): failed to open stream: Operation not permitted in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 107

Warning: A non-numeric value encountered in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 109
1秒
空闲率
Warning: A non-numeric value encountered in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 114

Warning: Division by zero in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 114
NAN%

6条回复

勿忘初心
勿忘初心 - 2020-07-23

已经解决了,删掉根目录里面的一个文件就可以了

房文博
房文博 - 2020-07-23

我也是同样的问题,请问怎么解决的

A.吃藕的男子
A.吃藕的男子 - 2020-07-23

怎么解决!

勿忘初心
勿忘初心 - 2020-07-23

看服务器的根目录,不是网站的根目录,有一个user的php配置文件,删掉就可以了

房文博
房文博 - 2020-07-25

好的,谢谢

迷途小书童
迷途小书童 - 2020-08-22

我这边根目录里没有这个文件哦,怎么破呢

我要回复

暂时不支持网页回复,请安装 WPJAM-Basic 插件,然后在 WordPress 后台即可参与讨论。