#29127 [Com]: PHP has encountered an Access Violation
ID: 29127 Comment by: l_anjanesh at yahoo dot com Reported By: bojo at gvea dot com Status: Open Bug Type: Reproducible crash Operating System: Windows 2003 Server PHP Version: 5.0.0 New Comment: Hi I posted the same bug at a different location (bug id : 28799) and I got this reply from one of the php guys team. Could you try php5ts.dll from http://emini.dk/php5ts-zend-mm.zip I did not try it out myself since I've to complete some projects in ver 4.3.7. So updating to ver 5 will take some time for me. But let me know if this one works absolutely fine. Thanks Anjanesh Previous Comments: [2004-07-17 15:33:10] Andreas at Oslos dot Net as update to my post above , sometimes the error appears now when i try to use phpMyAdmin 2.5.6! Using Windows Server 2003, IIS6, PHP, 5.0.0 Final with this php5ts.dll, witch seems to work with all of my own scripts, but they are not as complex as phpMyAdmin. Thats all i can say about it, but if you can tell me how to make something like an debug log with php, i will try to help closing this bug. [2004-07-16 12:44:23] taomyn at myway dot com Same dll fixed the problem for me too - thanks, Taomyn [2004-07-16 12:39:26] justin at jphil dot net the access violation seems to have gone away. I'm guessing that this has fixed the problem? What was changed in the dll?? Thanks! [2004-07-16 02:11:46] Andreas at Oslos dot Net Installed your new php5ts.dll, it seems to work with the PHP 5.0.0 Final on Windows Server 2003 (IIS 6). Thanks! [2004-07-15 18:17:11] [EMAIL PROTECTED] Could you try php5ts.dll from http://emini.dk/php5ts-zend-mm.zip 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/29127 -- Edit this bug report at http://bugs.php.net/?id=29127&edit=1
#28799 [Opn]: PHP has encountered an Access Violation at 016E73DD
ID: 28799 User updated by: l_anjanesh at yahoo 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: Im using php 4.3.7 and not encountered any such problem - all is working fine. I find the problem only with php5. Previous Comments: [2004-07-16 18:14:46] frederichenry at hotmail dot com edink, Tried the php5ts.dll file provided in the link, no success. This problem has existed since the 4.3.7 release (I have not tried 4.3.8 yet). WinServer 2003, IIS6, PHP5 (Final and RC's). phpinfo(); returns fine, but anything else returns an access violation. Here's an example: Result: PHP has encountered an Access Violation at 017573CDhello! [2004-07-16 09:56:06] l_anjanesh at yahoo dot com Voting not working ? This is new. I voted a few days ago though I posted this post long time back. My vote was counted. I thought I can vote again to see this error but can't vote now. Guess its a one time vote ? [2004-07-16 09:06:31] wallig at web dot de i have the same bug. i am developing under win xp pro sp1 iis5.1. i worked with php4.3.7 and mysql 4.0.20b. then i moved to php5 final and mysql 4.1.3b. it took me a hole day to get it run. i found round about 6 different ways to install it, but it didnt worked properly. and i needed 2 more hours to get mysql work, because "php_mysql.dll was not found". i had old dlls in windows/system32. finally it worked but my scripts didnt work anymore. especially the session handling. and now i just get "PHP has encountered an Access Violation at 015273CD". i found this page and wanted to vote on this bug and all what i get is: query INSERT INTO bugdb_votes (bug,ip,score,reproduced,tried,sameos,samever) VALUES(28799,,2,1,1,1,1); failed: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '2,1,1,1,1)' at line 1 what the hell are the doing. are the now working for microsoft? greetings from germany markus [2004-07-15 18:14:07] [EMAIL PROTECTED] Could you try php5ts.dll from http://emini.dk/php5ts-zend-mm.zip [2004-07-14 23:34:40] alantan at po dot tagnetwork dot net you must manually enable mysql extension modules (mysqli if you want to use Mysql 5.0 like i did) if you want to use it in php.ini... to answer that also the ISAPI module I experience the same problem with both RC3 AND the FINAL release. 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
#28799 [Opn]: PHP has encountered an Access Violation at 016E73DD
ID: 28799 User updated by: l_anjanesh at yahoo 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: Voting not working ? This is new. I voted a few days ago though I posted this post long time back. My vote was counted. I thought I can vote again to see this error but can't vote now. Guess its a one time vote ? Previous Comments: [2004-07-16 09:06:31] wallig at web dot de i have the same bug. i am developing under win xp pro sp1 iis5.1. i worked with php4.3.7 and mysql 4.0.20b. then i moved to php5 final and mysql 4.1.3b. it took me a hole day to get it run. i found round about 6 different ways to install it, but it didnt worked properly. and i needed 2 more hours to get mysql work, because "php_mysql.dll was not found". i had old dlls in windows/system32. finally it worked but my scripts didnt work anymore. especially the session handling. and now i just get "PHP has encountered an Access Violation at 015273CD". i found this page and wanted to vote on this bug and all what i get is: query INSERT INTO bugdb_votes (bug,ip,score,reproduced,tried,sameos,samever) VALUES(28799,,2,1,1,1,1); failed: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '2,1,1,1,1)' at line 1 what the hell are the doing. are the now working for microsoft? greetings from germany markus [2004-07-15 18:14:07] [EMAIL PROTECTED] Could you try php5ts.dll from http://emini.dk/php5ts-zend-mm.zip [2004-07-14 23:34:40] alantan at po dot tagnetwork dot net you must manually enable mysql extension modules (mysqli if you want to use Mysql 5.0 like i did) if you want to use it in php.ini... to answer that also the ISAPI module I experience the same problem with both RC3 AND the FINAL release. [2004-07-08 01:55:45] bojo at gvea dot com After building a Windows 2003 server with IIS6 and PHP 5.0 RC3, I have the same Access Violation error. I also tried replacing the php5isapi.dll with the RC2 version, no luck. I then fully rolled back to PHP 5.0 RC2, same problem. In comparison, my Redhat environment with Apache 2 and PHP 5.0 RC3 was also crashing erratically, although I was unable to track it down to an Access Violation error. I believe that this problem is more than likely related. I haven't been able to produce this error with a sane amount of test code, but will add more comments as I try to narrow things down. [2004-07-07 14:19:12] php_newbie at yahoo dot com The error above shows when using myphpadmin 2.5.5-pl1 on IIS 5.1 with PHP 5 RC3 and MySQL 4.0.20c Most of my PHP/MySQL scripts works fine except for this one, I want to add the myphpadmin so i can do database manipulations on hand but sadly this version won't. Any help would be gratefullt appreciated. 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
#28799 [Opn]: PHP has encountered an Access Violation at 016E73DD
ID: 28799 User updated by: l_anjanesh at yahoo 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: Demis - Have you tried this : http://museum.php.net/php5/ RC2 is not listed but RC1 is. Previous Comments: [2004-06-28 04:57:41] demis at liquidbit dot com I have the same problem with PHP 5 RC3/iis. A simple 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. 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 [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). 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
#28799 [Opn]: PHP has encountered an Access Violation at 016E73DD
ID: 28799 User updated by: l_anjanesh at yahoo 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: 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 ??? Previous Comments: [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 [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 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
#28799 [Opn]: PHP has encountered an Access Violation at 016E73DD
ID: 28799 User updated by: l_anjanesh at yahoo 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'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. Previous Comments: [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 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: --- 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
#28799 [NEW]: PHP has encountered an Access Violation at 016E73DD
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 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: --- 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