datdesi Posted August 15, 2011 Share Posted August 15, 2011 OK so my server status isn't working right, it display not available for some odd reason. I have made sure the status file is on the server, I made sure the server status address is also correct with the slash at the end, I have also enabled the exec functions in the php.ini. What could I be doing wrong? 0 Quote Link to comment Share on other sites More sharing options...
semoweb Posted August 16, 2011 Share Posted August 16, 2011 Can you review the uptime etc directly opening the link where the status folder is? 0 Quote Link to comment Share on other sites More sharing options...
iTylerNAllen Posted August 18, 2011 Share Posted August 18, 2011 You need to navigate to "/status/index.php" and click on "code editor" in cPanel. Once you have done that you need to scroll down a bit until you see the following code: $action=$_GET["action"]; if ($action=="phpinfo") { /* Uncoment the line below to allow users to view PHP Info for your server. This potentially allows access to information a malicious user could use to find weaknesses in your server. */ #phpinfo(); Notice how the "phpino();" has a "#" before it? You need to remove that "#" to uncomment that line. So your code should look like the following: $action=$_GET["action"]; if ($action=="phpinfo") { /* Uncoment the line below to allow users to view PHP Info for your server. This potentially allows access to information a malicious user could use to find weaknesses in your server. */ phpinfo(); However, you need to notice this will give users access to view your phpinfo which could allow users with malicious tendencies to cause harm to your servers. I hope this has helped. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.