LinkShare  Referral  Program

New

Advertise ad Here
learn more
            PHP > Installing PHP on IIS 7 Windows7 pag 2
Useful

Links


Free technical Tutorials At techtutorials.net



Link Exchange at iWEBTOOL.com

 



The PHP Resource Index


iBuyOfficesupply.com Inc. There are N. 3 Comments for this Article
Ask any relevant question in the Comments or leave your valuable feed-back

printer  Print version of this article

star  Add it to your favourite!

mail email this page to a frend
LinkShare  Referral  Program
Added on   22.08.09
Clicks     5040
Rating:     out of 5 from   0   raters      
         rate this page   
 Not rated yet.Be the first one to vote!!

How to Install PHP 5.2 on IIS 7and Windows 7

  • Installing IIS 7 on Windows7
  • Installing and configuring  PHP on IIS 7 Windows7 pag 1
  • Installing and configuring  PHP on IIS 7 Windows7 pag 2
  • Installing MySql on Vista
  • How to set IIS7 to handle PHP in static pages


  • windows7 logo Install PHP 5.2 on Windows7 and IIS 7

    pag 2 of 2


    
      See Fig1


      Administrative Tools
      Fig 1





      iisManagement
      Fig 2





      Isapi3
      Fig 3




      Add Handler
      Fig 5

       
      To add any other file extension to parse PHP read this other article How to set IIS7 to handle PHP in static pages

      Add Handler extensions
      Fig 6

       


      WEbService Extension Properties
      Fig 7

       


    Now you ready for the test.,open a new file with notepad and type:<?php phpinfo(); ?> Save it in your website root directory that should be D:\Inetpub\wwwroot as phpTest.php not as text file but all files or it wont work.if you find problems saving in the website root folder,check the security permissions or close notepad then open it as administrator, to do it,just rightclick on notepad in programs/Accessories and choose Run As Administrator,then create a new file like before and this time you will save it not problems..Open your web browser and type in the address bar http:/localhost/phptest.php and ,if a page with all the php info appears ,it means that you have php succesfully installed and running.

    Read this article How to set IIS7 to handle PHP in static pages 

    If you have any problems installing PHP ,please don't hesitate to contact me from here

    Back to page 1

    Comments

    Post your comment here or ask any question that is rilevant on what is shown in this page.
    Thank you for visiting this website

    N. 3 Comments for this page!   add a comment


    From:  DoMiNo   Comment Nr 1    
     Posted on  30/06/10
      
     hi.i'm having a problem here.i do exactly as what you what you said.but at last instead of php info page i get an error page with this title :HTTP Error 404.17 - Not Found The requested content appears to be script and will not be served by the static file handler what shoud i do?

    From:  jp50   Comment Nr 2    
     Posted on  02/07/10
      
     You just have to allow IIS7 to serve scripts

    From:  pertinaciousD   Comment Nr 3    
     Posted on  10/07/10
      
     I'm getting the same 404.17 error. How do you allow IIS7 to serve scripts? As the tutorial instructed, I created Handler Mappings for *.php and *.html, and created an ISAPI filter for php5isapi.dll.
    i