Re: PHP has encountered an access violation...




"Martin" <ironwoodcanyon@xxxxxxxxx> wrote in message
news:g3fac4l3vnrr97ttc30avvhdfq9fuenpch@xxxxxxxxxx
On Thu, 04 Sep 2008 07:52:22 -0700, Martin <ironwoodcanyon@xxxxxxxxx>
wrote:

I have an intranet-only site running in Windows XPPro, IIS 5.1, PHP
5.2.5. I have not used or changed this site for several months - the
last time I worked with it, all was well.

When I tried it just now, I am getting the subject error message
(specifically: PHP has encountered an access violation at 00F76E21).

The error is NOT occurring on every page request (but it is on most of
them) and, when I get the error, simply pressing <F5> to refresh the
page results in the page being served successfully.

Some googling around indicates that "permissions" are not set
correctly. But, if that was actually the case, a <refresh> wouldn't
work either would it? This seems to be a sporadic issue.

Any ideas as to what's going on here?

At Jerry's suggestion, I uninstalled PHP 5.2.5 and installed 5.2.6.
But to no avail. The random error continued exactly as before. I
re-booted the computer several times - made no difference.

That was last Friday. I shut the whole thing down and didn't mess with
again until this morning (Monday). Well, guess what? Now, it's working
just fine! No errors of any kind on any page! ?!?!?!? I don't
know... Something random going on here.

what may be 'random' is that the 'faulty' dll that is possibly in question
remained loaded in memory even though you had a new/upgraded install of php.
shutting down the computer and turning it back on would have cause the new,
correct dll to be used...thus solving your problem and the related symptoms.
they don't call it 'dll hell' for nothing!

All these posts about turning in a bug report or recompiling or C++ or
error logging are WAY over my head. I'll leave all that to you gurus.

i'd ignore those as most are simply shots in the dark, wholly lacking the
needed information to determine if any of it was going to be at all
successful. for you, i'd just have faith in the stability of both IIS and
PHP. if you run into those kinds of problems, you're more than likely going
to have a config problem at the root of any troubles. for all the bashing of
IIS, i've run several web servers with it, private and commercial, and never
had any problems. i do however highly recommend apache...if you can't afford
zeus - which is undeniably the best web server out there. apache is more
robust than IIS and, hell, you can't beat FREE !

cheers.


.



Relevant Pages

  • Re: So a Dimension 2400 is worthless, huh....
    ... >>> with PHP to develop my website and run it locally for testing. ... shoot me an email regarding your IIS PHP setup. ... What do you mean add the DLL to the ISAPI. ...
    (alt.sys.pc-clone.dell)
  • [Fwd: CERT Advisory CA-2002-05 Multiple Vulnerabilities in PHP fileupload]
    ... Multiple vulnerabilities exist in the PHP scripting language. ... installed on a variety of web servers, including Apache, IIS, Caudium, ... Updates to the PHP packages are in progress ...
    (comp.os.linux.security)
  • ini_set(display_errors,true);
    ... IIS not showing PHP Errors? ... I'm learning PHP on my laptop for school and have IIS set up to run my ... I've run PHP on an Apache server before. ...
    (microsoft.public.inetserver.iis)
  • Re: IIS, ASP & PHP - is it possible?
    ... IIS is perfectly able to run both ASP and PHP on the same server at the ...
    (microsoft.public.inetserver.iis)
  • Re: php form and ssi
    ... definition any site using phpoi will also be using php. ... SSI is one such simple technology that can be used ... One of the sites did not use any high level languages before. ... Pardon me for being a bit provocative about IIS. ...
    (comp.lang.php)