How to Create a phpinfo page

The phpinfo() function outputs a huge amount of information about the system you're using, such as (for example):

  • PHP Version
  • PHO environment
  • PHP options and extension available
  • OS version
  • predefined variables
  • ... and many others...

To create a phpinfo file, simply open a plain text file in your web space, name it phpinfo.php, and insert in it the following line:

 

<?php
  phpinfo();
?>

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What do I need to do to put Flash on my website?

Flash is a client side feature - it runs on the user's computer, not on your web host. As long as...

What are private nameservers and how do I set them up?

Private nameservers are where your domain points to our nameservers so that your customers do not...

Static IP vs. Dynamic IP Address

A static IP address is one that remains fixed and never changes. The PC always sees the same...

Protecting Yourself Against Viruses & Data Loss

It is vital to ensure your computer is protected from viruses and trojans. As well as...

How to Upgrade perl?

Run the following command. cd /usr/local/src ; wget...