mirror of
https://github.com/kmvan/x-prober.git
synced 2026-08-17 05:07:21 +08:00
Not show information in Server Status #40
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mrburgercheese on GitHub (Jul 6, 2020).
its not work in directadmin server panel. what requirement extention?
thank's
@kmvan commented on GitHub (Jul 6, 2020):
Can the PHP access
/procdir? Because the network stats info comes from/proc/net/dev.@kmvan commented on GitHub (Jul 6, 2020):
Almost all system info comes from
/proc.@mrburgercheese commented on GitHub (Jul 6, 2020):
when i use php-fpm? where to do that?
@kmvan commented on GitHub (Jul 6, 2020):
You are using Apache right?
@mrburgercheese commented on GitHub (Jul 6, 2020):
yes i using apacbe
@kmvan commented on GitHub (Jul 6, 2020):
Sorry, I don't how to let Apache access
/procdir. I am not sure how to fix it.Maybe https://askubuntu.com/questions/325498/apache-cant-access-folders-in-my-home-directory ? Not sure.
BTW, why not try to use Nginx? Apache is out data, Nginx in a right way.
@kmvan commented on GitHub (Oct 18, 2020):
If there is no more information, I will close the issue. But this does not mean that this issue cannot be discussed, please feel free to discuss and open it.
@horasjey commented on GitHub (Oct 10, 2023):
i have this problem sir,

how to solved it..?
in my vps
@horasjey commented on GitHub (Oct 10, 2023):
@kmvan commented on GitHub (Oct 10, 2023):
Hi man.
This looks like PHP-fpm doesn't have permission to read the /proc directory.
You can add
fastcgi_param PHP_VALUE
"open_basedir=$document_root:/tmp/:/proc/";
to
/etc/nginx/fastcgi.conf
and reload nginx.
Have a try.
On Tue, Oct 10, 2023 at 6:30 PM Horas Hajovan Siregar <
@.***> wrote:
@horasjey commented on GitHub (Oct 10, 2023):
$output = shell_exec('cat /proc/net/dev'); $netDevData = explode("\n", $output); $netDevData = array_filter($fileContent, 'strlen');Now,
How do you implement it into x-prober?
@kmvan commented on GitHub (Oct 10, 2023):
You need to give php-fpm permission to read the /proc directory.
On Tue, Oct 10, 2023 at 7:36 PM Horas Hajovan Siregar <
@.***> wrote:
@horasjey commented on GitHub (Oct 10, 2023):
i dont have permision , but my vps not user root,
and now my isue solved modif your file php
@kmvan commented on GitHub (Oct 10, 2023):
Okay.
On Tue, Oct 10, 2023 at 7:47 PM Horas Hajovan Siregar <
@.***> wrote: