Author |
Message |
YOGI2wise
New Member


Joined: May 07, 2003
Posts: 16
|
Posted:
Tue Aug 03, 2004 4:21 am |
|
Hi,
I've installed PHP5 with IIS,XP and when running a simple php page,i encounter this error:
"PHP has encountered an Access Violation at 010173CD ".
I do not have the error when i ran code <? phpinfo(); ?>
Seems it mostly related to IIS than PHP.
Does anyone already face this?
Thanks ! |
_________________ --------------------------------------------------------
"A journey of a thousand league begins with a single step" (Lao Tseu) |
|
|
 |
YOGI2wise

|
Posted:
Tue Aug 03, 2004 5:15 am |
|
More info...
I'd never encounter this error when running PHP4 with IIS CGI or ISAPI.
With PHP5,I tried both but same error.
Looks like PHP enhancements causes the error within IIS.
Thoughts are welcome!  |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Aug 03, 2004 7:18 am |
|
|
|
 |
YOGI2wise

|
Posted:
Tue Aug 03, 2004 5:19 pm |
|
Thanks Raven,
Yes it's a known bug and i was looking for some info in the forum.
I'll follow with the links you gave me and if any news will post this here.
Thanks. |
|
|
|
 |
YOGI2wise

|
Posted:
Tue Aug 03, 2004 5:49 pm |
|
Hi Again,
Here is Andi Gutmans' answer about this issue:
"The ISAPI version of PHP (Both in PHP 4 and PHP 5) is not recommended for use, due to stability problems. I suggest to either run PHP as a CGI binary or use the Zend WinEnabler product if you require a high-performance solution. "
Andi is Zend CoFounder and PHP expert.
Do i have a choice?Yes,this one...  |
|
|
|
 |
Raven

|
Posted:
Tue Aug 03, 2004 7:13 pm |
|
OTOH, version 4 works just fine. I do not recommend using v5 for several months. it is still buggy and definitely not production ready, imho. |
|
|
|
 |
YOGI2wise

|
Posted:
Thu Aug 05, 2004 4:33 pm |
|
U R Right,
I'm back to PHP4.3.8 with ISAPI and no error message again.
Thx! |
|
|
|
 |
randall072
New Member


Joined: Feb 02, 2005
Posts: 2
|
Posted:
Wed Feb 02, 2005 1:01 pm |
|
i found a similiar problem as this. i get the following:
PHP has encountered an Access Violation at 77F9F2A3
i gather that this is most likely an IIS issue. my question is what are the most stable, and up to date, versions of PHP and IIS that can be used together on a windows 2000 or 2003 server that see lots of activity?
any help would be great. |
|
|
|
 |
Raven

|
Posted:
Wed Feb 02, 2005 1:27 pm |
|
To my knowledge, v4.3.10 is stable on both environments. You might solicit opinions from the comp.lang.php News Group. |
|
|
|
 |
randall072

|
Posted:
Wed Feb 02, 2005 4:47 pm |
|
thanks for the help.
i found one problem with v4.3.10 for what i am doing. i do alot of error checking on my site, where i am currently using mssql. i found this message posted on php.net
27-Jan-2005 02:43
Warning ! with php 4.3.10, when you use mssql_query to insert or update data, the returned result is false but the query is really executed.
So you don't know if the query was really executed or not :/
at this link http://www.php.net/manual/en/function.mssql-query.php
this wrecks my error checks for inserts and updates. is there any way to make the mssql_query return something other than false for successful inserts and updates? |
|
|
|
 |
Raven

|
Posted:
Wed Feb 02, 2005 5:37 pm |
|
Never did anything with mssql. Can't you just do a subsequant read of the record you just changed and verify that the change was made? A little more overhead but it's probably not even noticable. |
|
|
|
 |
shammoy
New Member


Joined: Aug 07, 2007
Posts: 2
|
Posted:
Tue Aug 07, 2007 2:58 am |
|
Guys did not find any solution regarding this error. Can u please tell me what should i do to use PHP 5 with IIS and not get this error?
Thanks in advance. |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Tue Aug 07, 2007 6:42 am |
|
Not sure you'll find the answer here as most of us are using Apache on windows / linux, but I could be wrong... does not hurt to ask. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
Raven

|
Posted:
Tue Aug 07, 2007 5:50 pm |
|
shammoy wrote: | Guys did not find any solution regarding this error. Can u please tell me what should i do to use PHP 5 with IIS and not get this error?
Thanks in advance. |
Seriously, if Apache is an option then you should be using Apache.
Regardless, the only thing that we could recommend is that you install it exactly as instructed in the php distribution. If you have and you still have the problem then your next best bet is to post a message at comp.lang.php News Group. |
|
|
|
 |
shammoy

|
Posted:
Tue Aug 07, 2007 10:37 pm |
|
|
|
 |
Raven

|
Posted:
Thu Aug 09, 2007 11:03 pm |
|
|
|
 |
|