How Can Do I You Create Make A Phpinfo.php File?


How Can Do I You Create Make A Phpinfo.php File?
  Forums Index
      » Tutorial and Guides Forums
        » » How Can Do I You Create Make a phpinfo.php File?



How Can Do I You Create Make A Phpinfo.php File?
Post Description:
Post Tags: how, can, do, i, you, create, make, a, phpinfophp, file, tutorial, guides, howto, teach, learn, computer, programming, support
This Post Has Been Viewed 932 Times Since Thu Jul 20, 2006 9:36 am Posted By administrator with 1 replies
How Can Do I You Create Make A Phpinfo.php File?
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:

The only requirement for this to work on your web pages is that you have PHP in your hosting. IF you don't have php, you can signup with www.webune.com for a php plan. if you have php, continue on...

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:
<?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



post picture

Leave Your Comments
* Your Name

  * Your Email Address (Will Not Be Published)

* Your Comments


Add Picture To Comments
Yes No             upload
Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

     




Comments and replies About How Can Do I You Create Make A Phpinfo.php File?






:: 1 :: #25714 - Reply By Johnny On Fri Oct 26, 2007 8:58 am
thank you - i needed this and it worked perfect for me.