Hello,

I use PHP 4.04, MySQL 3.23.41-nt, IIS 5.0, Windows 2000 Adv. Server.

What shall I say: Sometimes it works, and sometimes I get this error:

PHP has encountered an Access Violation at 012E2466.

I checked windows-log and there is written this:

Der HTTP-Server ist bei der Verarbeitung der ISAPI-Anwendung '
php4ts!zend_hash_copy + 0x1B
+ 0xA05F5983
' auf eine unerwartete Ausnahme gestoßen.
Weitere Informationen zu dieser Meldung finden Sie auf der Microsoft-Onlinesupportsite: http://www.microsoft.com/contentredirect.asp.

This really doesn't look very sympathic. I found a lot of error-messages on the web, so it looks like EVERYBODY HAS THIS ERRORS, but where is the SOLUTION..???

Can you help?

Dave

    Now ist the time on Sprockets when we dance!!

    That is a very reasonable error, pet my monkey!

    Hehehe, those crazy germans... that's interesting that the error is given in german, are you sure you got the english distribution?

    only thing i could say since im not a php guru....yet.... is to go back to a stable release.

      Dave,

      You're running PHP as an ISAPI filter aren't you? Try running it as a CGI process instead. It's a little bit slower, but much more stable on IIS. The ISAPI filter is, like you discovered, still a bit buggy. I believe Zend is trying to address this issue, but don't expect it soon....... perhaps when the Zend PHP Engine 2 is released. As much as I'd like everyone to say screw IIS, and use a stable and secure server like Apache, the reality is that alot of companies have invested in NT software and the menality doesn't easily permit change. The ISAPI filter thus is needed to help PHP break into more the existings enterprise-ish environments which still run NT networks. Sad but true, so hopefully Zend will rectify the bugs soon.

      geoff

        Hey Geoff,

        Thank you so much for your tip!!

        I changed to php.exe now and everything works perfectly now.

        Man, what an easy solution, I tried really hard and you know, sometimes it worked, and sometimes not, so I had no idea, what really happened..

        But now everything works.

        Thanks a lot.

        Dave

          25 days later

          Dear Dave,
          I try to use PHP for CGI but I can't config php.ini to load module for oracle. What can I do?

            6 months later

            I have the same probleme. But if I use the cgi version, it crashes. If I use the isapy version, I get the access violation error and then IIS goes down and I have to completly reboot the machine or I can't get IIS to start again. Any other solution?
            I'm using 4.1.2 of PHP and IIS5 on WIn2k Server

              2 months later

              This can be routed past by running the isapi
              as an "IIS Proccess".

              I only advise this if your know about the security issues involved.

              otherwise everything should work fine

                Write a Reply...