Welcome to the Geeks & God Static Archive. Read more »

PHP Error

Joined: 11/28/2008

I get these messages every once in a while:

PHP has encountered an Access Violation at 77F51740

I am using a windows 2003 Server running IIS and using php 4.4.0.
Any ideas????????? HELP!

Thanks,

Faithful

P.S. This issue is become very annoying

Joined: 11/28/2008
I searched around and some of

I searched around and some of the links I read are below:

http://www.faqts.com/knowledge_base/view.phtml/aid/2027
http://www.experts-exchange.com/Web/Web_La...Q_21059061.html
http://ravenphpscripts.com/postt2469.html

Some people are suggesting to run PHP as a CGI binary rather than ISAPI module. Not sure which one you have installed?

~Andrew~

Joined: 11/28/2008
I had already read all of

I had already read all of these, and was wondering if anyone else had any guidance or had experienced this before. Those faq's are not very helpful at least haven't been for my situation. Anyone else?

Joined: 11/28/2008
That's why you use apache. If

That's why you use apache. If I were you, I'd get rid of IIS. Try XAMPP on windows. It rocks.

Joined: 11/28/2008
Believe me ... if it was an

Believe me ... if it was an option I would do so. I don't have the authority to make that decision althought I have suggested it. Any help on this problem?

Joined: 11/28/2008
Well PHP works for me on IIS

Well PHP works for me on IIS - it's not all bad /wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />

~Andrew~

Joined: 11/28/2008
faithfulman @ Aug 11
QUOTE(faithfulman @ Aug 11 2005, 01:03 AM)
PHP has encountered an Access Violation at 77F51740

Where does that message occur? Is it output in the page? What line of code causes it? Or are you working on the server itself and that is a different type of message?

Paul Davey
Whitford Church
"Everyone who calls on the name of the Lord will be saved." Romans 10:13
"For all have sinned and fall short of the glory of God, and are justified

Joined: 11/28/2008
Hi BobbyMac,It's not a

Hi BobbyMac,

It's not a specifc line that triggers it .... we'll be using the Intranet site I built and it will be running for a good week or so... then all of the sudden I go to post something, or update something, or am just surfing (SELECT) on the site and boom, I get that message on every page and I have to completely reset IIS and temporarily fixes it. But this is getting really annoying. Any thoughts?

Joined: 11/28/2008
Well, it still could be

Well, it still could be certain lines that trigger it off, for whatever reason. When you say it appears on every page - where abouts? At the very top or bottom? or somewhere in the page? What PHP code is associated with those locations? It could be a memory thing, or it could be some sort of file access problem, and it might only occur on some occasions depending on what else the server is doing. I've never seen the error before, but if you can post some code or give more info maybe we can narrow it down a bit.

Paul Davey
Whitford Church
"Everyone who calls on the name of the Lord will be saved." Romans 10:13
"For all have sinned and fall short of the glory of God, and are justified

Joined: 11/28/2008
From what I read from other

From what I read from other people who have the same problem, the error could even be triggered by a simple <?php echo "Hello World"; ?>

It looks more like a bug in PHP, but since you're running the latest stable version, suggesting you upgrade wouldn't be much help /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />

~Andrew~

Joined: 11/28/2008
I think Nexeonen is correct.

I think Nexeonen is correct. It doesn't actually load my page, but I'm presented with a page that gives that error. Any access to a PHP page
on that website comes up with the error.

edit: Until I restart IIS

Joined: 11/28/2008
Try downgrading to PHP

Try downgrading to PHP 4.3.x

That *usually* runs pretty stable on IIS.