Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP
Author Message
YOGI2wise
New Member
New Member



Joined: May 07, 2003
Posts: 16

PostPosted: Tue Aug 03, 2004 4:21 am Reply with quote

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) 
View user's profile Send private message
YOGI2wise







PostPosted: Tue Aug 03, 2004 5:15 am Reply with quote

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! Smile
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Aug 03, 2004 7:18 am Reply with quote

Of course I would not recommend using PHP5 for at least 6 months and I certainly don't recommend a windoze server for anything. Now I'll come down off my soapbox Wink

Lots of discussion about that error and it's a known bug. Just a couple of links for you.
[ 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! ]
 
View user's profile Send private message
YOGI2wise







PostPosted: Tue Aug 03, 2004 5:19 pm Reply with quote

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







PostPosted: Tue Aug 03, 2004 5:49 pm Reply with quote

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... Bang Head
 
Raven







PostPosted: Tue Aug 03, 2004 7:13 pm Reply with quote

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







PostPosted: Thu Aug 05, 2004 4:33 pm Reply with quote

U R Right,
I'm back to PHP4.3.8 with ISAPI and no error message again.
Thx!
 
randall072
New Member
New Member



Joined: Feb 02, 2005
Posts: 2

PostPosted: Wed Feb 02, 2005 1:01 pm Reply with quote

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.
 
View user's profile Send private message
Raven







PostPosted: Wed Feb 02, 2005 1:27 pm Reply with quote

To my knowledge, v4.3.10 is stable on both environments. You might solicit opinions from the comp.lang.php News Group.
 
randall072







PostPosted: Wed Feb 02, 2005 4:47 pm Reply with quote

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 [ Only registered users can see links on this board! Get registered or login! ]

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







PostPosted: Wed Feb 02, 2005 5:37 pm Reply with quote

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
New Member



Joined: Aug 07, 2007
Posts: 2

PostPosted: Tue Aug 07, 2007 2:58 am Reply with quote

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.
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue Aug 07, 2007 6:42 am Reply with quote

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.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
Raven







PostPosted: Tue Aug 07, 2007 5:50 pm Reply with quote

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







PostPosted: Tue Aug 07, 2007 10:37 pm Reply with quote

thanks, guys.
 
Raven







PostPosted: Thu Aug 09, 2007 11:03 pm Reply with quote

See if this helps:
[ Only registered users can see links on this board! Get registered or login! ]
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©