How can I find information about the PHP directives and modules of the hosting?
The displayed article presents the method by which you can find information related to the PHP directives and modules of the hosting.
To find information about the PHP directives and loaded modules, we can use the phpinfo() function.
We will insert this function into a PHP script using the File Manager of the control panel 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, then click on +File in the top left corner.

- We will give a name to the file 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 settings, directives, and loaded PHP modules of the hosting will be loaded.