web 2.0

Install PHP (With IIS - Internet Information Services)

Install PHP  (With IIS) This is a guide how to install PHP, IIS  (Internet Information Services)  configured to support PHP Programming.

ShotDev Focus:
- Install PHP
- Configuration IIS Support for PHP

Starting

Download php latest version http://www.php.net

Install PHP (With IIS)

Click icon php to install

Install PHP (With IIS)

Repairing install…

Install PHP (With IIS)

Click Next

Install PHP (With IIS)

Checked I accept the terms in the License Agreement and Click Next

Install PHP (With IIS)

Input Destination Folder and Click Next

Install PHP (With IIS)

Select the Web Server you with to Setup and Click Next

Install PHP (With IIS)

Choose Item to Install and Click Next

Install PHP (With IIS)

Wait… PHP Installing… wait until install completed.

Install PHP (With IIS)

Setup IIS (Internet Information Services)  for PHP

Install PHP (With IIS)

In IIS Manager, expand the local computer, and expand the Web Sites folder.  Right Click Default Website On IIS Screen  , and select Properties.

Install PHP (With IIS)

On the Home Directory tab, Click Configuration

Install PHP (With IIS)

Under Application Configuration Screen. Click Add

Install PHP (With IIS)

In the Executable input C:\PHP\php-cgi.exe and Extension input .php or .php5

Install PHP (With IIS)

See examples on the  screen.

Install PHP (With IIS)
Test a script php running.

Install PHP (With IIS)

Create a php script and save to root path C:\Inetpub\wwwroot and directory path.

Install PHP (With IIS)


<?
phpinfo();
?>

Install PHP (With IIS)

Run a script at http://localhost/myphp/Test.php or http://localhost/myphp/Test.php5

Install PHP (With IIS)

If the display as in the examples. PHP & IIS now  it working!!!

If php is showing message error.
PHP Notice: Undefined variable: Connect in C:\Inetpub\wwwroot\myphp\Test.php on line 4

Solve this a problem please open and edit the php.ini file on C:\Windows

Start -> Run -> php.ini

error_reporting = E_ALL fill ; to remark ;error_reporting = E_ALL

Install PHP (With IIS)

Restart IIS Web Server and try test again.

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.