PHP information page

Problem:

How do I view the php information page?

Solution:

Create a page name phpinfo.php and insert the below code into it. Pull this page up in your browser and this will show the php configuration on the server.
<?php
    // Show all information, defaults to INFO_ALL 
phpinfo();
// Show just the module information.
// phpinfo(8) yields identical results.
// phpinfo(INFO_MODULES);
?>
  • 56 Users Found This Useful
Was this answer helpful?

Related Articles

Configuring the PHP Environment With php.ini

Problem: How do I change the PHP environment for my site with php.ini? Solution:   To...

PHP with FastCGI

Problem: What is FastCGI for PHP? Solution: FastCGI for PHP makes all your PHP applications...

Upload_Max_Filesize

Problem: How do I change my upload_max_filesize? Solution: Summary Locate the php.ini...

Cron Jobs with PHP Files

How do I run a php file using Cron jobs?   From the cPanel, click the Cron Jobs icon and enter...

Basic Site Security Checklist

Remove malicious files and/or files you are not familiar with. While many PHP applications...