Skip to main content

Uptime and load server is not working after update 74.0.4

Comments

7 comments

  • cPanelLauren
    Hi @Almghari Can you describe what isn't working? Running that on my server works without issue. # php uptime.php 12:40:16 up 15 days, 4:20, 1 user, load average: 0.00, 0.01, 0.05
    0
  • Almghari
    Nothing happens, and no fault i see see - Removed - this after upgrading the last version v74.0.4 Your suggestions?
    0
  • Infopro
    Please attach images to your posts.
    0
  • Almghari
    Nothing appears White page
    0
  • sparek-3
    There's not a lot of information being given here. How are you accessing this PHP script? That will go a long ways towards resolving this issue.
    0
  • Almghari
    file in attach - Removed -
    0
  • sparek-3
    Yea... I get that you're writing a PHP script that uses a shell_exec to run the uptime command. That level of information is known and has been established. But how you are you running this file? How are you executing this script? How are you accessing it? If you run it from a shell, does it work? If you run it from a website, does it work? How are you interfacing PHP with your web server? Is shell_exec() in the disabled_functions list? What is the PHP or Apache error_log stating about this? Assuming it's being run from a website.
    0

Please sign in to leave a comment.