Save this file with a .php extension (you can choose any name) and save it in a public location of your web hosting account (the web root or public_html directory for example.) You can now view the output of this file by directly browsing to the location. In the following example we are assuming the file has been saved with the name of phpinfo.php.
Browse to this file to see your PHP configuration data: www.domain.com/phpinfo.php
You should now be able to see information about your php environment which can assist in troubleshooting many installation issues.
What is a phpinfo file?
From the php.net description:
Outputs a large amount of information about the current state of php. This includes information about php compilation options and extensions, the php version, server information and environment (if compiled as a module), the php environment, OS version information, paths, master and local values of configuration options, HTTP headers, and the php License.
In short, a phpinfo file displays a wealth of information regarding your specific php installation and its settings.
After you are done using this file, you may delete it from your server.
Revived Wire Media is a group of talented individuals with a collective goal to better answer the needs of clients and to deliver on your marketing, consulting, logos, ad design, graphic design, web design and development requirements. We offer both a wealth of domain expertise and a unique blend of marketing, print, web design and development strategies, including ecommerce and online store creation.
If you have any questions, please take a moment and let us know how we can assist.