IMPORTANT! The server may go down soon - possibly permanently. Please read the latest post in Announcements and News

I strongly advise all users using my server for their web site to make alternative arrangements.

Outgoing mail is disabled because of the malware on the server. No new forum registrations are currently possible, and mail to the forum administrator will not work.

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

PHP Check Server Script

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

Moderators: daj, TNETWeather

User avatar
Posts: 663
Joined: Wed Sep 17, 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

Postby TNETWeather » Sat Oct 11, 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...

Return to “Web site - General”

Who is online

Users browsing this forum: No registered users and 4 guests