How can I find out about the PHP hosting directives and modules?

Frequently Asked Questions Tehnic | php | module | directive | php-fpm
Romanian English The displayed article presents the way in which you can find out information related to PHP hosting directives and modules
by Mihai BobriucViews 1314Updated 2 yearsPublished 18/08/2022

To find out information about loaded PHP directives and modules, we can use the phpinfo() function.
We will insert this function into a PHP script using the control panel's File Manager or via FTP.

As an example, in cPanel, we will click on File Manager.

  • We will select the root folder of the domain through which we want to access the information, after which we will click on +File on the top left.

  • We will give the file a name and click on Create New File.

  • Right click on the file and then edit.
  • The lines below will be inserted, after which we will click on the Save Changes button at the top right.
  • After saving, we will access domain.tld/denumire_script.php. Information about the hosting's settings, directives and loaded PHP modules will be loaded.

Similar Articles

1
When I acces my WordPress site I get the error: Error establishing a database connection. What can I do ?Frequently Asked Questions Applications | wordpress | database | error
Discover why when accessing your WordPress site you get the error: Error establishing a database connection, and what should you do in this sittuation.
by Ana RednicViews 1222Updated 2 yearsPublished 25/10/2018
What are the benefits of the additional SEO option?Frequently Asked Questions SEO | seo | nameservers | google | pagespeed | ip
Introducing the benefits of enabling the SEO option.
by Mihai BobriucViews 1708Updated 1 yearPublished 13/03/2020
How can we solve the white page error when accessing the Prestashop administration?Frequently Asked Questions Applications | prestashop | white screen | white page
In this article we will explain how you can solve the white page error when accessing the Prestashop administration
by Mihai BobriucViews 1400Updated 1 yearPublished 18/08/2022
When accessing the site I get 500 Internal Server Error, white page or PHP errors. How can I find out details about the problem?Frequently Asked Questions Tehnic | 500 | error | internal server
Known error 500. For many users it presents a major problem. In this article you will find all the information you need.
by Mihai BobriucViews 1124Updated 1 yearPublished 18/08/2022
My site is loading slowly. Why?Frequently Asked Questions General | site | load | speed
Find out why your website is loading slowly!
by Ana RednicViews 1078Updated 2 yearsPublished 25/10/2018