We help IT Professionals succeed at work.

PHP has encountered an Access Violation at 00B673CD

krupini
krupini asked
on
32,771 Views
Last Modified: 2013-12-13
PHP5 Final
Windows XP Pro & IIS 5.1
www.nigor.servebeer.com

Ok, I have searched bugs.php.net and there seem to be people with the same problem, although different address (not 00B673CD). I also searched php support sites, and there are people with the same problem, even with PHP version 4.x. However, I have not found any solution to the problem whatsoever!

Ok, I used to have a PHP 4.3.7  and all was good. Now I installed PHP 5.0.0.

Whenever I try to access exsisting php pages or newly copied php pages in wwwroot, I get two errors:
"PHP has encountered an Access Violation at 00B673CD" and
"HTTP/1.1 500 Server Error Server: Microsoft-IIS/5.1 Date: Wed, 14 Jul 2004 20:50:34 GMT Content-Type: text/html Content-Length: 44 -2147417842 (0x8001010e)".

Whenever I try to access NEWLY CREATED pages by me, the page will not process at all, and I will get "HTTP 500 - Internal server error Internet Explorer".

And if I try to open the same page in Mozilla Firefox, I will get asked to a password!

For example,
<?php
echo '<p>Hello World</p>';
?>

will not run at all!

All this leads me to believe that there are problems with premissions. I gave PHP folder full prermision for all users on my system, and that did not help.

Please help!!

Comment
Watch Question

Author

Commented:
Also, on my webiste (www.nigor.servebeer.com):
phpMyAdmin-2.5.7 - created before PHP5 installation, not my script, works, no errors
info.php - created by me before PHP5 installation - works, errors
hello.php - created after PHP5 installation by me - does not work


I have PHP5 installed as ISAPI module by the way  ..

Author

Commented:
And even funnier thing .. with Mozilla Firefox:
phpMyAdmin-2.5.7 - works, errors
info.php - no errors
hello.php - works, errors!


So there are different errors generated depending on which browser you use to access my website .. and those are all server side errors ...
Top Expert 2005

Commented:
I am using Firefox and i had similar results, info.php works, hello.php works with error and phpmyadmin errors

I do not know the cause of the problem however i would recommend doing one of two things,

either revert back to the previous version of PHP or switch webservers and use Apache 1.3 which is on the whole more reliable
Richard QuadlingSenior Software Developer

Commented:
Have you got the Zend Optimizer installed?

Try removing ALL extensions, optimizers and anything that is not part of the web server or PHP 5 directly.

Reboot your server and try again.

Author

Commented:
Hmm, I do have Zend Stuido installed.. but I had this problem before installing it .. and i have no extension enabled except for mysql ..

I'll try installing Windows 2003 and see if I have the same problems ...
Same problem exists on Server 2003.  I've tested each RC, and every PHP version above 4.3.6 has had this error (although, v5 is much worse, at least the earlier versions worked on occasion).

krupini, turn off friendly http error message in IE (Tools->Internet Options->Advanced->Browsing section).  That internal server error message you're receiving in IE should be replaced by a much more accurate error message (depending on whether you have error reporting enabled in PHP).

I've disabled every extension, even flipped on the compatibility with Zend v1, but all to no avail.  Even a simple:

<?
echo "hello!";
?>

.. returns an access violation.
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
The file http://emini.dk/php5ts-zend-mm.zip is no longer available. The answer is not vallid.
Richard QuadlingSenior Software Developer

Commented:
At the time, it probably was.

The answer now though would be to download the latest version (currently V5.0.2) or a CVS Snapshot.

Richard.
InternetArmy,

The latest version of PHP does not appear to have this problem.  I've tried both the php-win.exe CGI, and the ISAPI module, both appear to work fine.  Granted, I have not tested 5.02 extensively (once bitten, twice shy) so I cannot guarantee the problem doesn't still exist.

<a href="http://bugs.php.net/search.php?search_for=Access+Violation&boolean=0&limit=10&order_by=&direction=ASC&cmd=display&
status=Open&php_os=win&phpver=5.0.2&assign=&author_email=&bug_age=0" target="_blank">
Here's</a> the current bug list for PHP 5.0.2 relating to possible "Access Violation" errors.  If you are still experiencing a
problem with the latest version of PHP, see if it is listed there.
Sorry for the poor formatting on the URL, haven't posted here in awhile and I thought HTML worked in the comments. ;)  Link still works.
Richard QuadlingSenior Software Developer

Commented:
Ha! One of those bugs are mine!

And all I need to do to fit it is add a 'b' to 1 line of code and all will be well.

Just wish I knew how to get the whole CVS and MS VC++ to work!

Richard.
Top Expert 2005

Commented:
Interesting how a user registered only today mysteriously makes their first and only comment in a PAQ which was first asked several months back. A dupe account maybe?
Richard QuadlingSenior Software Developer

Commented:
Hmmm. Take 1 plot, add thickener. Stir with plenty of chin stroking and a bit of frowning.
This is not a dupe account. I replied because I am having the same problem. I also tried the latest CVS snapshot before I posted here as wel as the latest stable version and I still have the problem. My problem is actually directly assocated with the use of CURL. I am using CURL with the online transaction gateway Linkpoint and alot of times when we attempt to use it, we get that error. The only way to solve the problem was to restart IIS or reboot the entire server. But that only solves the problem for a day or so.

The problem is reproducable on every machine I have. I have 16 Windows 2003 Std Servers. Thus far, the only version that is the most stable I have found is PHP 4.3.3.
The original problem occurred with pretty much any PHP related action on Windows IIS servers (when 5 was originally released) and was not specific to CURL.

Make sure you are using the latest version of CURL because PHP 5 does not support any version lower than 7.10.5.

Also, Note to Win32 Users:  In order to enable this module on a Windows environment, you must copy libeay32.dll and ssleay32.dll  from the DLL folder of the PHP/Win32 binary package to the SYSTEM folder of your Windows machine. (Ex: C:\WINNT\SYSTEM32  or C:\WINDOWS\SYSTEM).

I know the question is closed, but I thought I'd help anyway.  If you open another question I probably won't catch it (I haven't been checking EE that often lately).  Good luck.
Neil ThompsonSenior Systems Developer

Commented:
frederichenry

Your comment above regarding libeay32.dll and ssleay32.dll has just ended 3 hours of frustration on why curl crashed the entire Win2003 server.

THANK YOU!!!

Neil

Commented:
this php
i'm starting to dislike it

any current solutions ?