HomePHPHow to create a PHP Info Page

How to create a PHP Info Page

While installing a new application or deploying a script in your server, you might need to know the exact PHP configurations there. The PHP info page will help you in this regard.

Create a file named info.php in the desired folder

vi info.php

and add the following lines to it.

<?php
phpinfo( );
?>

Now access the file via your browser [eg: www.domain.com/install/info.php, assuming that you have created the file under the folder ‘install’].

Thats it!! You will be able to see the PHP configurations now.

If you are not able to see it, make sure that the phpinfo function is not disabled in the php.ini. If it is disabled, you will find the following line in php.ini.

disable_functions=phpinfo

Feel free to open a support ticket if you need further assistance.

Scroll to Top