Table of Contents
dsadasdsad
Step 1. Create the file.
Do not use Microsoft Word to create your code. Be sure to use a plain text editor to avoid any unwelcome surprises. This is to assure that your word processor does not add additional elements. Some recommended editors are TextEdit on Mac, Kate on Linux, and NotePad on Windows.
Copy and paste the code below into a plain text editor, and save it on your computer as a file called phpinfo.php
<?php phpinfo(); ?>
2. Upload the file
Upload the file you just created to your server. Make sure that you put it in a working website directory. If you are unsure how to do this, you can refer to this page in our wiki.
3. Open the page
In your web browser, run the program by typing the full address of where you put it. For example:
http://www.example.com/phpinfo.php
You will immediately see a detailed page that shows you all of the information on the current build of your PHP, such as the example below:
For more on the phpinfo function, see: http://www.php.net/phpinfo
Last modified: 08/27/2015 at 18:48 by Derrick Carrington T.