Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - 28 November 2014
Latest Cumulus MX release v3.0.0 build 3046 - 02 January 2019. See the Wiki for download

PHP Check Server Script

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
User avatar
Posts: 663
Joined: Wed 17 Sep 2008 1:34 pm
Weather Station: Davis VP2 Plus w/24 FARS
Operating System: WinX Pro SP3 Dedicated wstn
Location: Mesa, AZ USA

PHP Check Server Script

Post by TNETWeather » Sat 11 Oct 2008 8:05 am

PHP Check Server Script

The purpose of the script has multiple purposes....

First it will determine if your web server supports PHP. If it does, it will give what version of PHP and provide a list of PHP capabilities and the end of the page.

Assuming it finds PHP support, it will then look to see if your server has GD support. It will also tell you what capabilities your GD provides support for including FreeType support (TrueType fonts) and which version of GD is support as well as a list of what types of graphical formats it supports.

It will also provide you with the directory that the script is running from, so that if you uploaded the script in your main web directory, that would be considered the hard path to your directory.

All of this information is useful if you want to use some of the many PHP based scripts that will be posted in the Website Development section of the forum.

As needed, this script will be updated with new checks...

How to use:

Copy the source below and upload to your webserver. Then using a browser, browse to your website and point at the checkserver.php script. If you point to the correct file, you will see output like below:

Sample Output:



After you have run the script and collected the information you want from it, it is a good idea to remove the script. This script provides a lot of details about your server (version numbers, modules etc) that could potentially be used by someone to attempt exploits. You can always reload the script again to get the information you need later.

TNET Cumulus Project Page
All you need is Time, Aptitude and Desire ... and you can build just about anything...

Post Reply