Jump to content

Check status of Service or Application.


thenk83

Recommended Posts

I'm looking to have a page for my intranet site that will allow me to see the status of certain services on the machine that intranet page resides on. Basically Id like to check that status of the follwing services: MySQL, SQL, IIS, etc. Is there a way this can be done in PHP? If there is can somone lead me to the right functions and usage? Thanks.

Link to comment
Share on other sites

if you can use exec/system then yes, if not then your need to create a test script for each, ie connect to the SQL database and select the table to test the SQL, ping the IIS (or even read in a page that only displays the current time, if it displays nothing it failed) etc

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.