Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPU温度不能显示,内存图标错误 #10

Open
DarkMoonCBK opened this issue Mar 23, 2018 · 2 comments
Open

CPU温度不能显示,内存图标错误 #10

DarkMoonCBK opened this issue Mar 23, 2018 · 2 comments

Comments

@DarkMoonCBK
Copy link

CPU温度不能显示,内存图标错误,使用的内存和空闲内存应该反了

@dysl357085918
Copy link

同样的问题

@Air9420
Copy link

Air9420 commented Jul 11, 2020

当出现温度不显示时
先将php的错误提示打开
php.ini文件中display_errors = on
如果提示open_basedir restriction in effect这样类似的则是php的权限目录中没有你所需读取的目录
PHP的解决方式
将php.ini中的
open_basedir = "XXXX"
XXXX处添加需要读取的目录 可用 : 分隔多个目录
!如果文件中的open_basedir被注释或者none 那得在Apache 或者 Nginx 中进行修改 因为后两者的优先级大于php.ini
Apache的修改方式
httpd.conf文件中或者同目录下的vhost目录下的 *.conf 文件
fastcgi_param有这个前缀的 后面双引号中有open_basedir的则是权限作用域的目录了
需要在这添加目录 方式同php差不多
Nginx的修改方式
在nginx的根目录下fastcgi.conf中找到
fastcgi_param PHP_ADMIN_VALUE
修改修改同上
保存后重启相关服务即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants