The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add PHP file to each server without creating cpanel account

Discussion in 'General Discussion' started by ttremain, Jan 17, 2013.

  1. ttremain

    ttremain Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    I would like to add a PHP file to each server, that I can monitor from another location.

    This files will test a few simple things, and give the results in text, that will be monitored from elsewhere.

    I would like to place it somewhere where I can access it just with the servername, and file name, something like
    http://host.domain.com/obscure_name.php

    I've tried placing it in the cgi-sys folder, but it looks like that folder cannot parse PHP, or I was just unable
    to connect using: http://host.domain.com/cgi-sys/obscure_name.php

    Thank you!
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    See if it works here:
    /usr/local/apache/htdocs/
     
Loading...

Share This Page