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 700Updated now 1 yearPublished 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 548Updated now 1 yearPublished 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 914Updated now 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 628Updated now 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 568Updated now 1 yearPublished 25/10/2018
I have purchased a hosting package and wish to transfer one/several sites to you. How should I proceed?Frequently Asked Questions General | migration | hosting | site
The migration procedure can be complex. This article gives you all the information you need.
by Mihai BobriucViews 473Updated now 1 yearPublished 04/07/2021