PHP Info

From a command prompt:
php -v
Tests PHP functionality/confirm installation in windows.

All versions of PHP come with a very simple and endlessly useful information function:

PHP Code:
phpinfo();

Calling this function inside a PHP page will list all of your PHP configuration information in a tabular format

1. Open up a simple text editor like Notepad or Textpad (not Microsoft Word or similar).

2. Paste in the following PHP code:

PHP Code:
<?php
phpinfo
()
;
?>

3. Save the file as phpinfo.php.

4. Upload to your webserver

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>