nicewallpapers What Is A PHPINFO.PHP File? Use Create Call Display Upload Make Show





nicewallpapers What Is A PHPINFO.PHP File? Use Create Call Display Upload Make Shownicewallpapers - What Is A PHPINFO.PHP File? Use Create Call Display Upload Make Show
What Is A PHPINFO.PHP File? Use Create Call Display Upload Make Show - This page contains information about What Is A PHPINFO.PHP File? Use Create Call Display Upload Make Show Here you can also give your thought about the subject of What Is A PHPINFO.PHP File? Use Create Call Display Upload Make Show
Mon February 6, 2012, 9:53 pm
Categories
 

What Is A PHPINFO.PHP File? Use Create Call Display Upload Make Show

  By: PHP Tutorial Guide

Just what is a phpinfo.php file. Its perhaps one of the most important tools you can have to troubleshoot some of your scripts. If your website is being hosted on an Apache server, then mostly likely you will have PHP installed.

1. What is PHP?

PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.

2. What does PHP stand for?

PHP stands for PHP: Hypertext Preprocessor. This confuses many people because the first word of the acronym is the acronym. This type of acronym is called a recursive acronym. The curious can visit Free On-Line Dictionary of Computing  for more information on recursive acronyms.

Follow this step by step guide tutorial on how to create your own phpinfo.php file.

STEP 1: Open your favorite text editor. If you have a Windows PC, you can use notepad. For this example, I will be using notepad.

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


<?php

phpinfo();

?>


STEP 3: Save this file as "phpinfo.php" (include the quotes)

STEP 4: Upload file to your website.

STEP 5: Pull the file with your browser (Example: http://www.DOMAIN.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 example file

 

 

 

  Posted on: Jun 30, 2006