Re: [PHP4BETA] unable to install isapi version
| From: | Zeev Suraski | Date: | Sat, 15 May 1999 20:41:26 +0000 |
| Subject: | Re: [PHP4BETA] unable to install isapi version | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-869@lists.php.net to get a copy of this message | ||
On Sat, 15 May 1999, Frank M. Kromann wrote:
> Hi,
>
> I have now compiled php4ts and it is working (with the few scripts I have
> tested so far) and I'm also able to compile and link php4isapi but I'm not
> able to install it in the web server. First I'm getting the error:
>
> The instruction at "0x77b31028" referenced memory at "0x00000000". The
> memory could not be "read".
>
> When I click on Ok I'm getting the message "Not enough storage is available
> to complete this operation".
>
> I'm running IIS 4.0 (PWS) on Windows NT workstation 4.0 with servicepack 3.
> I'm using msvc 5.0 to compile. I have updated the header files with those
> from the IIS 4 SDK.
>
> What am I missing ?
Well, I didn't have a chance to check the module with neither MSVC5 nor
PWS. Unfortunately, I don't have access to a Windows NT workstation
either, so I don't think I'll get a chance of testing this.
There can be two reasons for the crash. First, I may have messed up
something in my recent patches (I haven't tested them under ISAPI, since
my box here runs Windows 95; I'll only have a chance to check it under
Windows NT tomorrow evening).
Second, it might be possible that a bug in PHP exploited itself only under
PWS and not under IIS. It's also possible that somehow the header files
don't actually match your IIS version.
If your web server starts properly, you can use Visual C++ to attach to
the web server process. Assuming it crashes when you access a PHP web
page, put breakpoints on HttpFilterProc and HttpExtensionProc, and see
where it crashes.
Zeev
--
-----------------------------------------------------
Zeev Suraski <zeev@zend.com>
For a PGP public key, finger bourbon@netvision.net.il
--
PHP 4 Beta