This article offers instructions on efficiently utilizing the phpinfo() function to access complete details about PHP configurations and other related information. This becomes essential when verifying PHP settings in the course of web development.  

Let us follow the steps- 

  1. Generate a file that comprises the following code-
    <?php     phpinfo(); 

    ?> 

  2. Save the file with a name like info.php. 
  3. Transfer the file to your public_html directory.
  4. Open your browser and navigate to http://example.com/info.php, replacing “example.com” with your website’s domain name. The page will present extensive details about the PHP installation.

Important notification- As a security precaution, it is advisable to deactivate any requests of the phpinfo() function once the development and testing phases of your website are concluded. 

In this manner, you can view PHP settings using the phpinfo() function. Hope you grasped this article well. However, if you still have any difficulty, get in touch with our support staff.  

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

How to Discover an Addon Domain's Path from cPanel

How to Discover an Addon Domain’s Path from cPanel

This guide will help you understand how to discover an Addon Domain’s path from cPanel.…

How to Manage Disk Space in Plesk Control Panel

How to Manage Disk Space in Plesk Control Panel

To manage disk space in Plesk is simple and ensures that resources are allocated efficiently.…

What is RAID Storage? Complete Guide to RAID Levels

What is RAID? RAID stands for Redundant Array of Independent Disks. It is a technology…