From: l_anjanesh at yahoo dot com Operating system: Windows 2003 Server Enterprise PHP version: 5.0.0RC3 PHP Bug Type: *General Issues Bug description: PHP has encountered an Access Violation at 016E73DD
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 bug report at http://bugs.php.net/?id=28799&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28799&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28799&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28799&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28799&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28799&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28799&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28799&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28799&r=support Expected behavior: http://bugs.php.net/fix.php?id=28799&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28799&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28799&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28799&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28799&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28799&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28799&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28799&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28799&r=float