|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-12-19 13:04 UTC] rene at lico dot nl
Description:
------------
Using PHP as ISAPI module results in getting "PHP has
encountered an Access Violation at ...".
The cause of this access violation is quite unknown to me and
I have no idea how to debug this error.
What I have found is that it _could_ happen on a
file_get_contents or a fopen using the http wrapper. But
again: i'm not sure.
First of all: please help me in tracing down this problem.
Reproduce code:
---------------
<? print file_get_contents("http://localhost"); ?>
Expected result:
----------------
not the actual result :)
Actual result:
--------------
PHP has encountered an Access Violation at 010E2ED6
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 14:00:01 2025 UTC |
If you have this: <? print file_get_contents("http://localhost"); ?> Is the content of this file in same file which is outputted?I can't find the exact cause. If the error has occoured it wil again do so when the <? print file_get_contents("http:// localhost"); ?> is executed. I've tried to get the error only using file_get_contents, but that dind't work out. This also means I can't get it to happen on apache. Note that the website I use here uses both asp and php files. The complete site can't be copied to an apache environment. I've found sombody who has visual c so we're installing everything else on his pc. I hope this results in something more. I'll keep you updated on this, but I think it will be next year; since I'm on holiday for the next week.