Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-25, 17:25:24

Author Topic: php detection program can not get the memory and CPU information  (Read 7426 times)

0 Members and 1 Guest are viewing this topic.

Offline RucLinux

  • Valuable Member
  • *
  • Posts: 78
  • Karma: +0/-0
    • View Profile
I installed php detection procedures for monitoring real-time data on a VPS server?No upgrade before kloxo-mr, php detection program can display real-time data server memory usage, network traffic. After upgrading to kloxo-mr, php detection program does not display memory usage and network traffic in real time data of these servers. I've tried the following methods to resolve, but did not solve the problem. I need your help, thank you.
1.chmod 0555 /proc directory permissions set
2.vi /home/apache/conf/domains/domain.conf
#php_admin_value open_basedir "/home/admin:/tmp:/usr/share/pear:/var/lib/php/session/:/home/kloxo/httpd/script:/home/kloxo/httpd/disable/:"
3.vi /home/httpd/domain.com/conf/
No files in this directory
4.vi /home/httpd/domain.com/php.ini
Did not find the character associated with channeling open_basedir
5.Open Domain Name - Your domain name - Website: apache - other settings
Openbasedir option is checked and disabled.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
If using php-fpm, setting open_basedir inside files in /etc/php-fm/*.conf.

To modified, use 'custom rule' where you must copy /home/php-fpm/tpl/php53-pool.conf.tpl to custom.php53-pool.conf.tpl and then modified this custom file. after that, run 'sh /script/fixweb; sh /script/restart-web'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline RucLinux

  • Valuable Member
  • *
  • Posts: 78
  • Karma: +0/-0
    • View Profile
If using php-fpm, setting open_basedir inside files in /etc/php-fm/*.conf.

To modified, use 'custom rule' where you must copy /home/php-fpm/tpl/php53-pool.conf.tpl to custom.php53-pool.conf.tpl and then modified this custom file. after that, run 'sh /script/fixweb; sh /script/restart-web'.
Thank you, problem solved.

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.043 seconds with 21 queries.

web stats analysis