Creating A Phpinfo.php File Very Simple Tutorial

RegisterLogin
Creating A Phpinfo.php File Very Simple Tutorial
Post Description: Creating A Phpinfo.php File Very Simple Tutorial
Tags: Creating, A, Phpinfo.php, File, Very, Simple, Tutorial
This Post Was Posted On Apr 22, 2008 By Webune #525
How to make a phpinfo.php file tutorial

The purpose of a phpinfo.php file is to show you how your php is configured in your server. To create one all you have to do is the following:

STEP 1: Open your favorite text editor like notepad. I am using notepad in Windows XP for this tutorial.

STEP 2: Copy and paste the following code into a blank notepad:

Code/Command:
<?php

phpinfo();

?>



STEP 3: Save this file as phpinfo.php

STEP 4: Upload file to your website using your favorite FTP Client.

STEP 5: Once you have uploaded the phpinfo.php file. Pull the file with your browser to the location of your site where you uploaded the phpinfo.php file (Example: example.com/phpinfo.php)

STEP 6: After that, If you have PHP installed, you should see all the PHP configurations. All these configurations are located in a file called php.ini. For Redhat and Fedora Linux distributions its located in /etc/php.ini The page should look something like the image below

phpinfo
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
kit
#3429 1
thanks, so much... so so so very much
Feb 07, 2010 Reply Report abuse
©2011 Webune Forums - Mon Dec 19, 2011 4:50 am
Powered by: Webune Forums V3