php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19302 Invalid access to memory location
Submitted: 2002-09-09 02:08 UTC Modified: 2013-02-17 23:58 UTC
Votes:20
Avg. Score:3.9 ± 1.0
Reproduced:14 of 15 (93.3%)
Same Version:3 (21.4%)
Same OS:6 (42.9%)
From: phpteam at vip dot sina dot com Assigned:
Status: No Feedback Package: IIS related
PHP Version: 4.2.2 OS: win200 adv server
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-09-09 02:08 UTC] phpteam at vip dot sina dot com
Hello!
I have a little problem when I try to display my index.php. All I have in it it's (just a test):
<?
phpinfo();
?>
And when I try to open this page I have the following result :

Invalid access to memory location

I'm using IIS,PHP4.2.2 and the ISAPI,but when I change to Cgi-Binary ,It's no problem!
I'm sure I have updated the php4ts.dll file in c:\winnt\system32
Can anyone help me on that please ?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-09 05:29 UTC] mfischer@php.net
You have two options before further digging into this:

1) Try the latest http://at.php.net/do_download.php?download_file=php-4.2.3-Win32.zip release

2) Try a current development snapshot http://snaps.php.net/win32/php4-win32-latest.zip

And make sure you removed ANY older binary.
 [2002-09-26 20:10 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2006-04-02 17:03 UTC] rcherry at raysoft dot net
Exact same thing is happening to me with XP (latest), IIS and PHP 5.1.2.  Sometimes a web page will work, then will DIE when refreshed.
 [2007-10-27 15:16 UTC] woud at skynet dot be
I have the sam problem. I installed PHP and the test.php or info.php worked fine. I installed MySQL and before starting tha install, I tested again the info.php... -> now I'mg getting this acces problem.
I used the latest version of PHP and MySQL.
I use WinXP-Prof , IIS 5.1.
Thanks for helping me!
Joske
 [2008-01-23 05:49 UTC] shaileshkumardas at gmail dot com
I am facing the same problem. I uninstalled the older 5.x version and I installed PHP 5.2.5 via msi installer. MySQL essential-5.0.27-win32.msiwas already installed . I added the extension=php_mysql.dll in php.ini file. Also checked the windows path which was correct . When i loaded test.php it displayed the error "Invalid access to memory location" after restarting my pc and emtying the session and temp dir it displayed the PHP info page and it shows "Loaded Configuration File (none)".
 [2008-05-16 19:16 UTC] awakennow at bellsouth dot net
I'm having the same problem.  IIS XP sp2 php 5.2.5.

I had a 4.x version running (4.7) I think, then upgraded ot 5.2.5 by copying the 5.2.5 files to a directory, pointing IIS to the new php dll and setting the path the the new directory.

It worked fine a week or so ago.  Now, I get the "Invalid access to memory" error.

If I reboot, then phpinfo() will run once.  I haven't refeshed it immediately, but if I try to run any other php file I get the same error.

Incidentally, the second php test file I've been running contains only html, so it isn't a fucntion call or any other DLL that php loads that is causing this.
 [2008-05-16 19:44 UTC] awakennow at bellsouth dot net
Solution:

I checked the ISAPI filter section of IIS admin and found php still pointing there to the okd version.  I had change it in the configuration settings.

Once both the filter and the configuration mappings were pointed to php5isapi.dll the sites worked.
 [2008-07-24 10:59 UTC] minhduan at newsplus dot com dot vn
dfsdf
 [2009-11-20 13:11 UTC] machhi_c_m at yahoo dot com
Please refer to the link below: 
http://technosharepoint.blogspot.com/
 [2010-09-21 22:34 UTC] blogmaster at cartercole dot com
im also having this issue... im on http://cartercole.com an IIS6 with php and 
mysql
 [2010-09-22 00:34 UTC] pajoye@php.net
-Status: No Feedback +Status: Feedback
 [2010-09-22 00:34 UTC] pajoye@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

And use FastCGI with IIS please.
 [2013-02-17 23:58 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 08:01:29 2024 UTC