Menu

Scripts

More Information

Links


(c)2004 Knowledge Computing



To check whether you server runs PHP

  1. Check with your Web host and ask them! (You can miss out this step if you want)

  2. To check whether PHP is enabled on your server

    1. copy the following text to a new file:

      <html>
      <body>
      <?php
      	phpinfo();
      ?>
      </body>
      </html>

    2. Save the file with the name test.php.

    3. Copy the file to your server, and point your Browser to it.

    4. If your server supports PHP, you will see several pages of information about PHP, starting with something similar to the following table:

    PHP Version 4.1.2


    SystemLinux alpha 2.2.20-hap-3 #1 Tue May 28 12:01:02 BST 2002 i686 unknown
    Build DateMar  7 2003
    Configure Command './configure' '--with-apache=/root/src/apache_1.3.27' '--with-zlib' '--with-zlib-dir=/usr/lib' '--enable-ftp' '--with-gd=/usr/local' '--with-jpeg-dir=/usr/lib' '--with-png-dir=/usr/lib' '--with-mysql' '--enable-xslt' '--with-xslt-sablot' '--enable-bcmath' '--with-imap=/root/src/imap-2001a' '--with-gettext=/usr/local' '--enable-exif'
    Server APIApache
    Virtual Directory Supportdisabled
    Configuration File (php.ini) Path/usr/local/lib/php.ini
    ZEND_DEBUGdisabled
    Thread Safetydisabled