How do you create a PHP file?

PHP comes with an effective phpinfo () function that can tell you major information about the PHP settings, of course, including the PHP version. Starting with this method, you should first go to create a text file and name it as phpinfo.php. Then, you need to copy and paste the below code into this document.
For More Information Please Refer:

You May Also Like to Read: