How to create PHP Info file

PHP info file

Lots of times you need to get familiar with your server settings and the easiest way to do so is to create the PHP Info file.

Open text editor of your choice (I often use Notepad++) and insert the following code in it:

<?php phpinfo(); ?>

Save the file as info.php and upload it to the root of your website. You can then visit the info page and see the status of your server (e.g. www.yourwebsite.com/info.php)

DISCLAIMER: I used the domain name yourwebsite.com only for the sake of this tutorial and ease of understanding the process described here. I do not own this domain and mentioning it in this post is for identification purposes only. Use of this domain name does not imply endorsement.

By janoshke

Web developer and IT consultant. Freelancer with full respect for OpenCart and WordPress. Gamer, (ex)drummer and parent.

Leave a Reply