Invalid access to memory location

I have installed PHP & mysql on a windows 2003 server machine.
everything is fine except every now and then when I access a page,
I receive the following error in firefox and IE:
---------------------------------------------------------------
Invalid access to memory location.
---------------------------------------------------------------

Restarting IIS 6 will solve the problem, but willl receive the same error
a while later.


Any kind of help to fix this problem is much appreciated.

LVL 1
MnInShdwAsked:
Who is Participating?
 
UmopepisdnConnect With a Mentor Commented:
This problem can be caused by permissions errors on paths referenced in php.ini.  Make sure the user IIS is accessing files have sufficient permissions to read directories you've specified on variables like these:

upload_tmp_dir="C:\Temp\Upload"
session.save_path="C:\Temp\Sessions"
error_log="C:\php\log\php-errors.log"
0
 
thejaswipadmanabhaCommented:
an easiest fix to this problem would be to use CGI-BIN instead of ISAPI module .
Try upgrading the PHP (you havent stated your php version though )
0
 
MnInShdwAuthor Commented:
Sorry I was away from my PC fro a while.

PHP version is 5.2.11
For some reasons I prefer to use ISAPI until I upgrade the server's OS to 2008.

I changed the permissions on C:\Windows\Temp and will wait for a while to see if the problem is over.


thank you
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
MnInShdwAuthor Commented:
Million thanks
0
 
MnInShdwAuthor Commented:
It seems that the problem is gone.
Million thanks for your help.
0
 
UmopepisdnCommented:
Happy to help :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.