How to add PHP version file & check current php details?

Easy ways to check PHP information & Extension.

How to add PHP version file & check current php details?

In this guide, We will show how to create a PHP info check page & check PHP details for your current hosting PHP.

Here are the steps to create a PHP info file:-

1. Login to your Control panel (Cpanel, Directadmin, or other panels which support PHP checker)

2. Go to File Manager.

3. Now Go to the main file directories if you are using the cPanel control panel then go to the Public_html directories.

4. Create a PHP File with the name phpinfo.php & save it.

5. Edit the phpinfo.php file & add the above code & Click save changes.

<?php
phpinfo();
?>
Now you can access your PHP details would visit https://example.com/phpinfo.php. Be sure to replace example.com with your actual domain name.

Congratulation !! All task is done.