Author Topic: Checking for PHP  (Read 7253 times)

0 Members and 1 Guest are viewing this topic.

Offline anvana

  • Senior Member
  • **
  • Posts: 98
Checking for PHP
« on: July 27, 2006, 09:33:28 PM »
I notice a large number of participants are wondering about using PHP on their sites. There are a some good reasons why PHP is becoming so popular. One reason is the number of terrific PHP scripts others on this forum have created and made available.

But a number of folks wishing to use PHP in one way or another have no idea if they have PHP installed on their hosting account. Or, if they do have it installed, how it is configured and what additional modules have been installed - such as GD or TTF support.

Thankfully, PHP provides a built-in function that you can use to view the PHP installation on your web hosting account. To use this function, open a text editor and create the following code:


Save this as "phpinfo.php" and upload it to any directory in your hosting account. Make sure you create this file with a text editor, such as Windows Notepad and not a word processor. And, FTP the file using ASCII transfer and not bianary mode.

After you upload the file, call it from your web browser (

If your web hosting account is PHP enabled, you will see the complete configuration settings for your paticular PHP installation. You can refer to this at any time, or simply print it for later reference.

Please note that you will see a lot of information about your paticular PHP installation, including what modules are supported, and what switches have been enabled or disabled. You can use this information later to create your own custom php.ini file to enable or disable settings for your scripts.

Good luck!
Topsail Island Weather