🍁 Autumn Sale — Up to 70% discount for hosting and domains
activate now
Frequently Asked Questions • Dev

How do I find information about PHP configuration and directives?

The steps presented in this article describe the procedure through which you can find information about the PHP configuration and directives.

Views 843Updated 7 aniPublished on 22/01/2019by Florin P.

phpinfo() is used to view the PHP configuration and available PHP directives.

To view this information we will create an info.php page in public_html, where we will add the lines below:

php();
?>

To view the information, we will later access the file in the browser at domainname.extension/info.php (e.g. hostico.ro/info.php). 

Similar Articles

Views 843
Updated 7 years ago

The steps presented in this article describe the procedure through which you can find information about the PHP configuration and directives.

Views 909
Updated 7 years ago

The displayed article presents the method by which you can find information related to the PHP directives and modules of the hosting.

Views 921
Updated 7 years ago

Learn how to set a PHP cron job and the paths to the PHP interpreter on Webuzo, cPanel/WHM, and Plesk. Find quick and effective solutions for VPS.