View Server PHP Environment with phpinfo.php

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:



Was this answer helpful?

 Print this Article

Also Read

Remove Login History on Server

On the Linux systems there are three standard commands that show the information about last...

Enable Browser Caching with .htaccess File

Enable browser caching to reduce website loading times, by taking advantage of caching of...

Recursive Find and Replace Command Line Method

Reference this guide for help with mass find and replace file manipulation in Linux servers.Find...

How to Bind Additional IPs to Network Interface Card - CentOS

This article explains the process of binding multiple IP addresses to the Network Interface Card...

How to Change Root Password Using SSH

This article explains the method of changing the root password on a Linux Server using SSH. SSH...