Search:
Main Menu
Login | RSS |

Quick PHP Code Tips and Examples

PHP Programming Tips, Tutorials and Source Code Examples for newbie

phpinfo() - Get info about your PHP Installation

March 2nd, 2007 by Jon Moffet

The first thing you might want to do after you finished installing PHP extenstion on your favorite webserver is to test it.

Here's a quick one-liner code to test out your PHP installation:

PHP:

phpinfo() is a handy function where it can be used to test out your php installation, webserver information and extensions available at the same time.

You should run phpinfo() in order to be sure which PHP release you're using, because the information is useful when you're debugging PHP code or for filing bug reports regarding PHP scripts.

Tags: , , ,

Bookmark Post:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • NewsVine
  • Reddit
  • Netvouz
  • Spurl
  • Furl
  • digg
  • YahooMyWeb
  • del.icio.us

Posted in Uncategorized |

Related Posts

One Response

  1. How to switch to PHP5 in Cpanel based web hosting » Quick PHP Code Tips and Examples Says:

    [...] upload a php file containing phpinfo() function to test it whether PHP5 has been enabled or not. If the modification has not been successful then [...]

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.