Install php on IIS 7.5 [Answered]RSS

2 replies

Last post Jun 11, 2013 02:48 AM by kctt

  • Install php on IIS 7.5

    Jun 05, 2013 12:23 AM|muhammadm|LINK

    After installing php-5.4.15-nts-Win32-VC9-x86 on iis 7.5 I am unable to browse the wesbsite

    Windows 2008 R2

    The error logs showing below errors

    #Software: Microsoft Internet Information Services 7.5 #Version: 1.0 #Date: 2013-06-05 00:58:08 #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken 2013-06-05 00:58:08 ::1 GET /phpinfo.php - 80 - ::1 Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+WOW64;+Trident/5.0) 404 0 2 2609 #Software: Microsoft Internet Information Services 7.5 #Version: 1.0 #Date: 2013-06-05 01:11:23 #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken 2013-06-05 01:11:23 ::1 GET /phpinfo.php - 80 - ::1 Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+WOW64;+Trident/5.0) 404 0 2 1578 #Software: Microsoft Internet Information Services 7.5 #Version: 1.0 #Date: 2013-06-05 02:36:35 #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken 2013-06-05 02:36:35 ::1 GET /phpinfo.php - 80 - ::1 Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+WOW64;+Trident/5.0) 404 0 2 828 2013-06-05 02:37:39 ::1 GET /phpinfo.php - 80 - ::1 Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+WOW64;+Trident/5.0) 404 0 2 0 2013-06-05 02:39:47 ::1 GET / - 80 - ::1 Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+WOW64;+Trident/5.0) 200 0 0 5140 2013-06-05 02:41:01 ::1 GET / - 80 - ::1 Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+WOW64;+Trident/5.0) 200 0 0 15 2013-06-05 02:41:10 ::1 GET /phpinfo.php - 80 - ::1 Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+WOW64;+Trident/5.0) 404 0 2 31 2013-06-05 02:41:15 ::1 GET / - 80 - ::1 Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+WOW64;+Trident/5.0) 200 0 0 62 #Software: Microsoft Internet Information Services 7.5 #Version: 1.0 #Date: 2013-06-05 04:13:30 #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken 2013-06-05 04:13:30 ::1 GET / - 80 - ::1 Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+WOW64;+Trident/5.0) 200 0 0 249 2013-06-05 04:15:16 ::1 GET /gps - 80 - ::1 Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+WOW64;+Trident/5.0) 404 0 2 0

    Server Error shows

     

    Error Summary

    HTTP Error 404.0 - Not Found

    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    <div class="content-container">
    Detailed Error Information <div id="details-left">
    Module IIS Web Core
    Notification MapRequestHandler
    Handler StaticFile
    Error Code 0x80070002
    </div> <div id="details-right">
    Requested URL http://localhost:80/gps
    Physical Path C:\inetpub\wwwroot\GPS\gps
    Logon Method Anonymous
    Logon User Anonymous
    <div class="clear"></div> </div>
    </div> <div class="content-container">
    Most likely causes:
    • The directory or file specified does not exist on the Web server.
    • The URL contains a typographical error.
    • A custom filter or module, such as URLScan, restricts access to the file.
    </div>

     

  • Re: Install php on IIS 7.5

    Jun 05, 2013 08:09 AM|fab777|LINK

    Hi,

    I assume you didnt follow the guide available here http://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis

    muhammadm

    ModuleIIS Web CoreNotificationMapRequestHandlerHandlerStaticFile

    You'll have to install the proper handler for PHP as described here: http://www.iis.net/configreference/system.webserver/handlers/add

    This message is provided "AS IS" with no warranties... But you can still mark it as answer if it's helped you.
    Fabrice ZERROUKI
    Wanna chill out? Here: JAHSound.net
  • Re: Install php on IIS 7.5

    Jun 11, 2013 02:48 AM|kctt|LINK

    You can try uninstalling PHP and the reinstall PHP from web platform installer.

    WPI should do all configuration required to run PHP.

    http://www.microsoft.com/web/downloads/platform.aspx