|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-08-17 20:32 UTC] chris-php-bugs at digitaria dot com
There appears to be some sort of library conflict with 4.0.1pl2 and Windows 2000 (running as a CGI). I get errors like those below every time php.exe executes:
Application popup: php.exe - Application Error : The instruction at "0x77fca8ac" referenced memory at "0x00080101". The memory could not be "written".
(The instruction address here may vary by about 16 bytes; the memory address has always been 0x00080101 or 0x00080100)
Application popup: php.exe - Application Error : The instruction at "0x77fca9ea" referenced memory at "0x00000010". The memory could not be "read".
The requests are in fact processed correctly and there is no trace of a message in the PHP error logs. Before applying Service Pack 1, there was a good chance (5-50%) that a CGI error ("FATAL: erealloc(): Unable to allocate (a number between 15 and 30K) bytes") would be sent to the browser. Post Service Pack 1, I have yet to see the CGI error but the application error log message is generated for each request.
Our client should be moving to a Linux/Apache setup within 2 weeks but I think it'd be a good idea to investigate W2k stability in any case. I can provide pcAnywhere access to the remote server to a trusted individual.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 16 15:00:02 2025 UTC |
I'm getting the 'memory cannot be read' error on Windows 2000 when running php script that gets the data from mysql. Here is the simple script I run: <html> <body> <?php $db=mysql_connect("localhost", "root"); mysql_select_db("mydb", $db); $result = mysql_query("SELECT * FROM employees", $db); printf("First Name: %s<br>\n", mysql_result($result, 0, "first")); printf("Last Name: %s<br>\n", mysql_result($result, 0, "last")); printf("Address: %s<br>\n", mysql_result($result, 0, "address")); printf("Position: %s<br>\n", mysql_result($result, 0, "position")); ?> </html> </body> Please let me know what I can do to fix this. Thank you, Eduard Kotysh