ID: 28799 Comment by: demis at liquidbit dot com Reported By: l_anjanesh at yahoo dot com Status: Open Bug Type: *General Issues Operating System: Windows 2003 Server Enterprise PHP Version: 5.0.0RC3 New Comment:
I have the same problem with PHP 5 RC3/iis. A simple <?php echo "hello"; ?> will give me an access violation. But what is weird is running phpinfo at the start of my script will make it work e.g. <?php phpinfo(); echo "hello"; ?> Also note in the phpinfo() page under "PHP Variables" section, the key _ENV["TEMP"] had a value of "Access Violation...", once I added access to user IUSR_PCNAME it reverted back to "C:\WINDOWS\TEMP" Since it appears that the php5isapi.dll RC2 works, can someone please provide a URL so I can download it. Hope this helps Previous Comments: ------------------------------------------------------------------------ [2004-06-25 13:12:47] seang at moosecat dot com dot au Same problem with XP Pro IIS 5.1 PHP 5.0.0RC2 & RC3 PHP has encountered an Access Violation at 00B473DD - after reading some of the comments I replaces the php5isapi.dll with the package RC1 - and that fixed it.... Hope this helps Sean ------------------------------------------------------------------------ [2004-06-24 18:44:30] l_anjanesh at yahoo dot com This MySQL issue has been around sometime with PHP5. But you'll find that PHP's own db called SQLLite is enabled by default (I have no idea how this works an where is the db in the first place). They are probably concentrating more on their db.....but still it doesn't make sense though since almost all web servers are using MySQL and what are the chances of them switching to SQLLite soon ??? ------------------------------------------------------------------------ [2004-06-24 01:47:58] spam__me at excite dot com dot com My apologies, Andreas' solution only partially addresses those in the original posters (for me at least). Original posters claim of "There is not a single "mysql" keyword in the phpinfo() page!" still applies to me as well (though the Access Violation error is in fact gone). Something odd, when I view the Import/Export table for the "libmySQL.dll" file, I see most of the expected functions, except "mysql_connect"!! I am using the program "FileAlyzer" (made by the fine people of SpyBot S&D) to view the import/export table. This is using v5.0.0 Alpha of MySQL (maybe a MySQL problem, just wanting to see if others getting this same issue are using the same version of MySQL) ------------------------------------------------------------------------ [2004-06-23 22:55:01] spam__me at excite dot com I was experiencing the same exact behavior described by others after upgraded to v5 RC3... "PHP has encountered an Access Violation at 010173DD" My platform info: Win2k Pro, SP3 IIS 5 PHP 5.0.0 RC3 (downloaded today, 6/23/04). Thanks to Andreas' suggestion, I was able to resolve the problem (swapping "php5isapi.dll" from RC3 with the one in the RC2 distribution). ------------------------------------------------------------------------ [2004-06-19 17:24:45] andreas at oslos dot net Hi folks, I have nearly the same error msg on my System: Windows 2003 Server Enterprise IIS 6 PHP 5.0.0 RC3 The error msg on beginning of every php page is: "PHP has encountered an Access Violation at 017573DD" after that the php file is normaly executed and send to browser but it never stops loading, and finaly the browser shows the "Page can not be viewed." msg. My server is a complete new installed system with only one website on it and is thought as development platform. The error must depend on the "php5isapi.dll". Because by replacing the "php5isapi.dll" from RC3 with the on from the RC2 package, the error disappears! This is also my workaround for the time waiting on a fixed dll. Greetz from Germany! Andreas ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/28799 -- Edit this bug report at http://bugs.php.net/?id=28799&edit=1