Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP memory could not be read 1

Status
Not open for further replies.

jammer1221

Programmer
Jul 30, 2003
352
US
Hi all,

I'm having a problem with some PHP scripts I am running. On certain scripts PHP will shutdown and give an error; "The instruction at '0x100c5fca' referenced memory at '0x00000035'. The memory could not be 'read'".

I am pretty sure that error occurs whenever PHP has to do an fopen call. I have run a ton of PHP scripts on here and only the ones with the fopen relation seem to cause this error in PHP. This is the only thing I can figure out about the problem, as I am no PHP (at the core) expert.

I am running Windows XP Pro with IIS 5.1, I have PHP 4.4.2 installed and running (kinda). I also have MySQL installed, I don't remember the version right now, but if its important I can figure it out.

Thank you for all the help. I will try and post new information as I figure things out.


Matt
 
Hey guys, I posted this over in the PHP Bug's section, hoping to get a little info. They said it was "Fixed in CVS several months ago."

I don't know what that means, if anyone could help me that would be great!
 
Well I figured it out a little bit. I downloaded a new snapshot of php 4.4.2 at
I thought I could just replace these files with the other files, but then PHP won't work.

I know I'm the only one posting in this thread, but hopefully someone will chime in. And if I do figure it out maybe someone can benefit from this.

So my question is what do I do after I've downloaded the snapshot?

Thanks Matt
 
you should just be able to overwrite one set of files with another.

what errors are you getting if you attempt to do so (of course stop your webserver BEFORE you try the cut and paste). it might be better to rename your current php directory and extract the new archive to a newly created php directory. then copy across your old php.ini.
 
Alrite thank you very much. I did just that before, I just forgot to copy over the php.ini file. So it works now.

Thank you very much,

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top