HostArmada Web Hosting Knowledge Base

Knowledge is power! Use that power and achieve total and unconditional control over the Web Hosting Services!

How can I check the PHP settings my website is currently using?

PHP is a programming language used for building dynamic websites. Every website consists of different amounts of files in which the PHP code is being saved. These files are called PHP scripts and have the "PHP" file extension. Whenever a visitor accesses your PHP based website the webserver is compiling the corresponding to your website PHP script and is displaying the result to your visitor. The service that compiles the file on the Web Hosting Server is called respectively the PHP service and it utilizes different settings depending on the Web Hosting Provider. 

It is important to know what are the PHP settings for your Web Hosting Account in order to determine if those are sufficient for the successful operation of your website. To see the PHP settings for a particular website on your Web Hosting Account, you need to create a new PHP script in the form of a .php file in which you will have to insert a piece of code that will request from the PHP service of the server the needed information.

Here are the steps you need to take to do so:

  1. Log into your cPanel account.
  2. Please use the search option located at the top right corner of the control panel and type in "File Manager". When the functionality shows underneath the search field, please click on it.
  3. On the "File Manager" page, you will see folders and files representing your hosting account. Please double-click on the folder that is currently holding the data of the site you want to view the PHP settings for. If you are not sure which folder this is, please check our Which is my website's root directory article.
  4. When you are inside the correct folder, please press the "+ File" option located on the top left corner and create a new file called "info.php".
  5. When the file is created, it will appear in the directory you are currently located in. Please find it in the list of files and right-click on it. Afterward, select the "Edit" option from the dropdown menu. You will need to click on the "Edit" button displayed on the popup window that is going to show up as well. This act will open the file for editing.
  6. Inside the file, please place the following snippet of code:
<?php phpinfo(); ?>

      7. Next, press the "Save Changes" button located on the top right corner.
      8. Finally, please visit the following URL on your website, however, replace "domain.com" with your actual domain name: domain.com/info.php. You will notice a massive list of all the available PHP settings for your website!

Was this article useful and on point?

Find out more about HostArmada entire range of optimized Web Hosting Services and take action today on improving your website Loading Speed, Security, and overall Stability!