Knowledgebase Home / How to Create a php Info File and View PHP Information – phpinfo.php
// View Comments //

How to Create a php Info File and View PHP Information – phpinfo.php

Quick steps:

  1. Log into cPanel
  2. Open File Manager
  3. Locate your current working directory (eg public_html)
  4. create new file: phpinfo.php
  5. Enter the following code: <? phpinfo(); ?>
  6. Save the file and navigate to the phpinfo.php file from your website

The PHP installed on your hosting account and/or server has various settings that are configured. Depending on the application you’re installing, you may need to view these settings to ensure the requirements of the application are met. A php info file will display the current settings & values of the live PHP running on the server and/or hosting account.

In your document root, create a file called “phpinfo.php” and place the following code into it & then save the file:

<? phpinfo(); ?>

After adding the above code and saving the file, you should now be able to access the file in your browser.

PHP Info File

 

There’s various settings that can be viewed such as:

  • max_input_time
  • max_input_vars
  • memory_limit
  • post_max_size
  • open_basedir
  • upload_max_filesize

 

PHP Info Page


If you have any web hosting questions please feel free to reach out to us. We're happy to help.
Shared Hosting | Reseller Hosting | Managed WordPress Hosting | Fully Managed VPS Hosting

Our Guiding Principles

  • Provide consistent, stable, and reliable web hosting services.
  • Ensure rapid ticket response and quick resolutions to issues.
  • Never saturate or over-provision servers to ensure stability and speed for our customers.
  • Use only high-quality enterprise-class hardware to ensure minimal downtime from hardware failures.
  • Provide clear pricing with no hidden fees or gotchas.
Subscribe to comment notifications
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments