1. Computing & Technology

Discuss in my forum

Learn More About Your Server's PHP

Using phpinfo () can give you lots of useful information.

By , About.com Guide

If you are looking for information about the version of PHP or your server, the best place to look is in phpinfo (). By running this you will receive a wealth of information. This will be shown in several sections. Some examples of sections you might see are:

  • A section dedicated to your version of PHP and related information
  • Your PHP's configuration
  • Zend Optimizer
  • Bcmath section
  • Bz2 section
  • calendar information
  • ctype
  • curl
  • domxml
  • exif
  • ftp
  • gd
  • gettext
  • iconv
  • imap
  • mcrypt
  • mhash
  • mssql
  • mysql
  • openssl
  • overload
  • pcre
  • pdf
  • pgsql
  • posix
  • session
  • sockets
  • standard
  • tokenizer
  • wddx
  • xml
  • xmlrpc
  • zip
  • zlib
  • Additional Modules
  • Environment variables
  • PHP Variables
  • PHP License

Many of these sections have expanded details that can help you figure out the information you might need. Even if you aren't looking for anything in particular, you might find this information interesting to browse.

  1. About.com
  2. Computing & Technology
  3. PHP / MySQL
  4. Learn PHP
  5. Gathering PHP Information - PHPinfo PHP Function - Find PHP Information

©2012 About.com. All rights reserved.

A part of The New York Times Company.