ID: 28799 Comment by: spam__me at excite dot com 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:
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) Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2004-06-18 20:04:23] l_anjanesh at yahoo dot com I've checked up at various forums and found that most replies were that the newer php5isapi.dll has the bug. I don't know really but thats what I got from most people because there is no problem at all whatsoever in linux. Also, there are people who recompile the source code in linux and somehow make it work - but not in wimdows. ------------------------------------------------------------------------ [2004-06-18 15:50:13] jim at herrick dot net I had the same issue after replacing 5.0.0RC2 with 5.0.0RC3 (and also with dev snapshot from 17-Jun) using IIS 5.1 and Windows XP SP1. The error shows up at the end when viewing the output from the single command, phpinfo(). In all other pages, it shows up on the first line of output. The first thing I did was disable *all* extensions. Nothing changed. Then I checked permissions and file attributes on the PHP directory. Couldn't find anything out of the ordinary. Hope this helps! Jim ------------------------------------------------------------------------ [2004-06-15 19:29:56] l_anjanesh at yahoo dot com Description: ------------ Hello I've finally decided to move to php5 (using IIS) because of its new features but now I'm having second thoughts. I extracted all the php5 files to C:\PHP and did all the relevant configuring in IIS to php5 etc. The first thing I tried out was phpinfo(); and it worked with no errors. BUT my MySQL settings does not exist. There is not a single "mysql" keyword in the phpinfo() page !!! All worked ok with php4.3.4. My MySQL ver is 4.0. This is strange because : I have a site already made in php4.3.4 and works OK. Now the html tags are showing but with the first line PHP has encountered an Access Violation at 016E73DD. Then I did a test(index.php) in test folder the result was HTTP 500 Internal Server Error The location http://localhost/test/index.php exists and works in php4.3.4. All it contains <?php print("Hello"); ?> This is strange because in one location theres all these html tags with php lines and displays the page except when trying to conect to the db (since mysql is not found) with the access violation error and then there is this other location which doesn't even load giving 500 internal server error. I have NO IDEA what the problem is now. If I can't find a solution to this I'll have to switch back to php4. Please help Thanks This is what I did : 1. Extracted to C:\PHP5 2. Configured IIS to PHP5 files (php5isapi.dll) 3. Copied php5ts.dll to c:\windows\system32 (but did not delete php4ts.dll) 4. Made all the necessary settings in php.ini (as same as php.ini for php4 except the extensions dir to ext). Did not make any settings for mysql though since I never had to for php4.3.4 and it worked. 5. Made no changes to MySQL because the no: of times that I have configured php4, I first unzipped mysql & then php and everyhing worked. Therefore I did not unzip mysql again. Reproduce code: --------------- <?php print("Hello"); ?> Expected result: ---------------- Hello Actual result: -------------- If html tags exists then they'll show with PHP has encountered an Access Violation at 016E73DD and of course fatal error for mysql connnection if mysql functions exist. But if just php code is there then its HTTP 500 Internal Server Error ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28799&edit=1