PHP5 on IIS7 - Inetserver

This is a discussion on PHP5 on IIS7 - Inetserver ; GDay All, I have a bewildering problem that I hope someone can help me with. I installed PHP5 onto my IIS7 installation and proceeded to configure it using suggestions found on the net ( http://blogs.msdn.com/david.wang/arc...P_on_IIS7.aspx ) .. After some head ...

+ Reply to Thread
Results 1 to 4 of 4

PHP5 on IIS7

  1. Default PHP5 on IIS7

    GDay All,

    I have a bewildering problem that I hope someone can help me with.

    I installed PHP5 onto my IIS7 installation and proceeded to configure it
    using suggestions found on the net (
    http://blogs.msdn.com/david.wang/arc...P_on_IIS7.aspx )
    ..

    After some head scratching I managed to get PHP working and was quite
    pleased with myself.

    Then I rebooted my machine and proceeded to access PHP again, no go, damn!
    The Error message pointed me to the web.config file which I found in
    %SYSTEMDRIVE%\inetpub\wwwroot. I don't recall the exact details. No problem
    I says, I'll just delete the troublesome web.config file and all was well
    once again.

    I rebooted the machine once more and now I get error 500.0. I have no idea
    what has caused this problem. I have tried deleting all mods made in IIS
    Manager and rebooting. Then adding the PHP configuration back again. No go,
    still getting 500.0 error.

    Does anyone have any idea what might be causing this error??

    I have checked all file permissions and they seem correct to me.

    My system is as follows:
    Pentium D 840 Extreme Edition 3.2ghz
    Intel D975XBX2
    ATI Radeon X850XT
    Dual Monitors (Samsung 940b)
    Windows Vista Ultimate 32bit (Running in Super Admin Account)

    I have attached the error page to this message.

    TIA

    --
    Regards
    Andy M


  2. Default Re: PHP5 on IIS7

    It seems like you are using PHP5 ISAPI, and it is failing with
    0x800703e6 (Win32 Error Code 998 = Invalid access to memory location)
    after IIS7 executed the PHP ISAPI DLL through the ISAPIModule module
    in the ExecuteRequestHandler event.

    I don't think this problem is within IIS7. Assuming you are still
    using the same PHP binary that was once working, I would start
    checking PHP configuration changes that could result in this state.
    Your IIS configuration is fine because PHP ISAPI DLL is executing --
    most people get confused and never get to this.


    //David
    http://w3-4u.blogspot.com
    http://blogs.msdn.com/David.Wang
    //





    On May 20, 7:34 am, "Andy" <trump...@optusnet.com.au> wrote:
    > GDay All,
    >
    > I have a bewildering problem that I hope someone can help me with.
    >
    > I installed PHP5 onto my IIS7 installation and proceeded to configure it
    > using suggestions found on the net (http://blogs.msdn.com/david.wang/arc...TO_Install_and...)
    > .
    >
    > After some head scratching I managed to get PHP working and was quite
    > pleased with myself.
    >
    > Then I rebooted my machine and proceeded to access PHP again, no go, damn!
    > The Error message pointed me to the web.config file which I found in
    > %SYSTEMDRIVE%\inetpub\wwwroot. I don't recall the exact details. No problem
    > I says, I'll just delete the troublesome web.config file and all was well
    > once again.
    >
    > I rebooted the machine once more and now I get error 500.0. I have no idea
    > what has caused this problem. I have tried deleting all mods made in IIS
    > Manager and rebooting. Then adding the PHP configuration back again. No go,
    > still getting 500.0 error.
    >
    > Does anyone have any idea what might be causing this error??
    >
    > I have checked all file permissions and they seem correct to me.
    >
    > My system is as follows:
    > Pentium D 840 Extreme Edition 3.2ghz
    > Intel D975XBX2
    > ATI Radeon X850XT
    > Dual Monitors (Samsung 940b)
    > Windows Vista Ultimate 32bit (Running in Super Admin Account)
    >
    > I have attached the error page to this message.
    >
    > TIA
    >
    > --
    > Regards
    > Andy M
    >
    >
    >
    > [ Attached Message ]From:"Saved by Windows Internet Explorer 7"Toate:Mon, 21 May 2007 00:06:13 +1000Local:Sun, May 20 2007 7:06 amSubject:IIS 7.0 Detailed Error - 500.0 - Internal Server Error
    >
    > Description:The page cannot be displayed because an internal server error has occurred.
    >
    > Error Code:0x800703e6
    >
    > Notification:ExecuteRequestHandler
    >
    > Module:IsapiModule
    >
    > Requested URL:http://localhost:80/test.php
    >
    > Physical Path:C:\inetpub\wwwroot\test.php
    >
    > Logon User:Anonymous
    >
    > Logon Method:Anonymous
    >
    > Failed Request Tracing Log Directory:C:\inetpub\logs\FailedReqLogFiles
    >
    > Handler:PHP
    >
    > Most likely causes:IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.IIS was not able to process configuration for the Web site or application.The authenticated user does not have permission to use this DLL.The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.
    >
    > What you can try:Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.Check the event logs to see if any additional information was logged.Verify the permissions for the DLL.Install the .NET Extensibility feature if the request is mapped to a managed handler.Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, clickhere.
    >
    > More Information...
    >
    > Microsoft Knowledge Base Articles:294807Server Version Information:Internet Information Services 7.0.This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.Server Error in Application "Default Web Site"HTTP Error 500.0 - Internal Server Error




  3. Default Re: PHP5 on IIS7

    GDay All,

    Seems that I have solved my own problem.

    It appears that Vista marks some foreign files as blocked whenever you copy
    files to the C:\ Drive. Checking each file (from Windows Explorer, right
    click on the file and select properties) shows that the file is blocked.
    Clicking on the unblock button allows that file to be accessed.

    I had to do this for each and every file in my php folder, but I eventually
    got php working! Yay!

    --
    Regards
    Andy M


  4. Default Re: PHP5 on IIS7

    I experienced the same problem getting "PHP Version 5.2.14" with IIS7. The PHP isapi filter was being called but something in the configuration was throwing the 0x800703e6 error. I got past the error by commenting some of the "Local Variables:" defined in the php.ini file.

    I started by commenting out all the "Local Variables" then slowly put them back in one at a time.

    These are the ones I had to comment out:

    ;[PHP_OCI8]
    ;extension=php_oci8.dll

    ;[PHP_PDO_OCI]
    ;extension=php_pdo_oci.dll
    ;[PHP_PDO_OCI8]
    ;extension=php_pdo_oci8.dll

    ;[PHP_PDO_SQLITE_EXTERNAL]
    ;extension=php_pdo_sqlite_external.dll

    ;[PHP_PSPELL]
    ;extension=php_pspell.dll

    ;[PHP_SYBASE_CT]
    ;extension=php_sybase_ct.dll

+ Reply to Thread

Similar Threads

  1. mysql / php5 configuration
    By Application Development in forum PHP
    Replies: 5
    Last Post: 10-18-2007, 11:56 AM
  2. PHP5 - Object
    By Application Development in forum PHP
    Replies: 8
    Last Post: 10-16-2007, 07:45 AM
  3. configuring IIS for PHP5
    By Application Development in forum PHP
    Replies: 1
    Last Post: 08-06-2007, 07:15 PM
  4. Programming PHP 2/e == PHP5 only?
    By Application Development in forum PHP
    Replies: 1
    Last Post: 08-03-2007, 12:59 AM
  5. Changes for PHP5 ?
    By Application Development in forum PHP
    Replies: 8
    Last Post: 07-30-2007, 12:31 PM