Home>Article>Backend Development> php probe not showing memory

php probe not showing memory

(*-*)浩
(*-*)浩 Original
2019-09-17 13:43:58 2679browse

This article introduces the reasons and solutions for the php probe code not displaying information such as CPU, memory, hard disk, etc., and some problems encountered when using php probes.

php probe not showing memory

Contents of this section:

cpu, memory, and hard disk information displayed by the php probe (recommended learning:PHP Programming from entry to proficiency)

php probe not showing memoryThe reasons why the general php probe does not display the above information are as follows:

1, Proc directory permissions

See what the permissions of the proc directory are? You can try to set the permissions of the proc directory to the default 0555

2, apache's open_basedir setting

If you turn on the open_basedir security setting, the probe will not be able to display the memory Waiting for information

3, the corresponding php function is prohibited

such as file or other functions

4, the virtual host panel is automatically set

Some panels, such as directadmin or kloxo, will also be unable to view probe information.

The above is the detailed content of php probe not showing memory. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to use php probe Next article:How to use php probe