473,761 Members | 10,498 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP has encountered an access violation...

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 <F5to refresh the
page results in the page being served successfully.

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

Any ideas as to what's going on here?
Sep 4 '08
39 4288
Martin 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 <F5to refresh the
page results in the page being served successfully.

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

Any ideas as to what's going on here?
Martin,

There are several bug reports at bugs.php.net similar to what you are
reporting. But not knowing what your code is doing, I have no idea what
might be related.

You could look through them and see what you can find. Upgrading to
5.2.6 may also fix this bug.

And if you don't find anything, I would recommend you put together a
small test case showing the problem and report it as a bug.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===

Sep 4 '08 #11
On Thu, 04 Sep 2008 14:50:08 -0400, Jerry Stuckle wrote:
Martin 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
(specificall y: 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 <F5to refresh the
page results in the page being served successfully.

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

Any ideas as to what's going on here?

Martin,

There are several bug reports at bugs.php.net similar to what you are
reporting. But not knowing what your code is doing, I have no idea what
might be related.

You could look through them and see what you can find. Upgrading to
5.2.6 may also fix this bug.

And if you don't find anything, I would recommend you put together a
small test case showing the problem and report it as a bug.
Most of the bug reports I've seen on this suggest it's an issue with
running PHP and an ISAPI filter.

Perhaps you could try setting it up as CGI. I vaguely remember running
into a similar issue the one time I attempted to run PHP under Windows.
Though I believe I solved (side stepped) the issue by running Apache
instead of IIS, which my not be a solution for you.
--
I told you this was going to happen.

Sep 4 '08 #12

"Erwin Moller"
<Si************ *************** *************** @spamyourself.c omwrote
in message news:48******** *************@n ews.xs4all.nl.. .
>
Martin schreef:
>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
(specificall y: 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 <F5to refresh
the
page results in the page being served successfully.

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

Any ideas as to what's going on here?

Hi,

First, to find the reason for an access violation, you must use
debuggertools for IIS.
You can find better help in this newsgroup:
microsoft.publi c.inetserver.ii s (also with finding the right tools
to create a bugreport.)
I heard PHP5.1.somethin g had some issues when trying to free the
same amount of memory twice. (Not sure if that is related)

And I have a, possibly lame, suggestion: Switch to Apache (1.3 or
2).
Most techies consider IIS an inferior webserver.

Regards,
Erwin Moller
FWIW:
I have been struggling to solve a similar problem under Apache. :(

Still dont know the exact cause, but somehow a mySQL dll was the wrong
version.
Replcing it with another 'fixed' it.
How the wrong dll was referenced I still dont know.

Richard
Sep 4 '08 #13
AqD
Martin 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 <F5to refresh the
page results in the page being served successfully.

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

Any ideas as to what's going on here?
Some kind of internal bug in PHP. The access violation error tells
NOTHING and you don't need to waste time on it.

Try different PHP versions or use apache to host PHP scripts. Apache
is less problemic with PHP in my experience.
Sep 5 '08 #14

"AqD" <aq*********@gm ail.comwrote in message
news:74******** *************** ***********@p10 g2000prf.google groups.com...
Martin 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
(specificall y: 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 <F5to refresh the
page results in the page being served successfully.

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

Any ideas as to what's going on here?

Some kind of internal bug in PHP.
and exactly HOW would you know that?!
The access violation error tells
NOTHING and you don't need to waste time on it.
hmmm...it tells you the application is trying to do something that it is not
allowed to do. your comments seem to be the only thing wasting anyone's
time.
Try different PHP versions or use apache to host PHP scripts. Apache
is less problemic with PHP in my experience.
well, well, well. seems like you don't really think it is 'some kind of
internal bug in PHP' after all! now you're saying it's IIS, or any other
webserver but apache.

if you don't have enough information to go on, don't assume so wonderfully
and precisely what the specific problem is or what is going to solve it!
Sep 5 '08 #15
On Thu, 04 Sep 2008 20:19:50 +0200, Sjoerd <sj******@gmail .comwrote:
>Martin wrote:
>(specificall y: PHP has encountered an access violation at 00F76E21).

Off course there are many kinds of access violations, but this seems to
me like PHP is trying to read from a memory address it does not has
access to. This is most likely a bug in PHP (or some other software) or
broken hardware.
Try testing your memory (maybe with memtest86) and up-/
downgrading your PHP.
At your suggestion, I downloaded memtest86 and ran it but it reported
no memory problems - everything was ok.

Am continuing to try to diagnose the problem.

Sep 5 '08 #16
On Thu, 04 Sep 2008 14:50:08 -0400, Jerry Stuckle
<js*******@attg lobal.netwrote:
>Martin 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
(specificall y: 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 <F5to refresh the
page results in the page being served successfully.

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

Any ideas as to what's going on here?

Martin,

There are several bug reports at bugs.php.net similar to what you are
reporting. But not knowing what your code is doing, I have no idea what
might be related.

You could look through them and see what you can find. Upgrading to
5.2.6 may also fix this bug.

And if you don't find anything, I would recommend you put together a
small test case showing the problem and report it as a bug.
Jerry - Thanks for the suggestions.

I'll upgrade to 5.2.6 but, maybe you could answer a question for me?
How does one "upgrade"? Do I have to do a complete install of 5.2.6?
Or is it possible to simply update certain components some way?

I looked around the PHP site but couldn't find anything that explained
this. Is there a site somewhere that explains a little more fully how
to do this?

Thanks.
Sep 5 '08 #17
AqD wrote:
Martin 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
(specificall y: 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 <F5to refresh the
page results in the page being served successfully.

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

Any ideas as to what's going on here?

Some kind of internal bug in PHP. The access violation error tells
NOTHING and you don't need to waste time on it.
The problem is probably not specifically with PHP, more likely with
the ISAPI DLL or IIS. The access violation does, indeed, tell you
something.
Try different PHP versions or use apache to host PHP scripts. Apache
is less problemic with PHP in my experience.
The OP shouldn't have to switch server environments, as PHP can run
just fine on IIS, when configured properly.

--
Curtis
Sep 5 '08 #18
Martin wrote:
On Thu, 04 Sep 2008 14:50:08 -0400, Jerry Stuckle
<js*******@attg lobal.netwrote:
>Martin 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 <F5to refresh the
page results in the page being served successfully.

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

Any ideas as to what's going on here?
Martin,

There are several bug reports at bugs.php.net similar to what you are
reporting. But not knowing what your code is doing, I have no idea what
might be related.

You could look through them and see what you can find. Upgrading to
5.2.6 may also fix this bug.

And if you don't find anything, I would recommend you put together a
small test case showing the problem and report it as a bug.

Jerry - Thanks for the suggestions.

I'll upgrade to 5.2.6 but, maybe you could answer a question for me?
How does one "upgrade"? Do I have to do a complete install of 5.2.6?
Or is it possible to simply update certain components some way?

I looked around the PHP site but couldn't find anything that explained
this. Is there a site somewhere that explains a little more fully how
to do this?

Thanks.
You need to do a complete install. There isn't an upgrade path.

But it's pretty painless. If you previously used the zip/gzip files,
just move your old files to another directory (for backup) and unzip the
new files in the same place. Ensure you keep your current php.ini file.

If you used an installer, you should again backup the files (just in
case), remove the old and install the new in the same place.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===

Sep 5 '08 #19
AqD
On Sep 5, 8:50*pm, "Dale" <the....@exampl e.comwrote:
"AqD" <aquila.d...@gm ail.comwrote in message

news:74******** *************** ***********@p10 g2000prf.google groups.com...


Martin 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 <F5to refresh the
page results in the page being served successfully.
Some googling around indicates that "permission s" are not set
correctly. But, if that was actually the case, a <refreshwouldn' t
work either would it? This seems to be a sporadic issue.
Any ideas as to what's going on here?
Some kind of internal bug in PHP.

and exactly HOW would you know that?!
Because the access violation is not caught and correctly reported in
PHP module, i.e. the php module crashed.

Therefore it's an internal bug.
>
The access violation error tells
NOTHING and you don't need to waste time on it.

hmmm...it tells you the application is trying to do something that it is not
allowed to do. your comments seem to be the only thing wasting anyone's
time.
Yes it is. Unless you want to spend time debugging IIS & PHP module.
>
Try different PHP versions or use apache to host PHP scripts. Apache
is less problemic with PHP in my experience.

well, well, well. seems like you don't really think it is 'some kind of
internal bug in PHP' after all! now you're saying it's IIS, or any other
webserver but apache.

if you don't have enough information to go on, don't assume so wonderfully
and precisely what the specific problem is or what is going to solve it!
The OP was trying to find out what the problem is. It doesn't help
him.

Even if he finds out why the problem access violation was casued, he
cannot solve it by fixing php or iis. So why waste time on things you
cannot fix?
Sep 8 '08 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
4771
by: Hayden Kirk | last post by:
PHP has encountered an Access Violation at 00B973CD OS: Windows XP Pro SP1 No MySQL... 3200xp with 1gb DDR... RC2 had the same problem... any idea?
0
9521
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9945
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9900
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8768
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7324
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6599
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5361
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3442
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.