From: Faither at web dot de Operating system: Windows + IE7 installs PHP version: 5.2.8 PHP Bug Type: MySQL related Bug description: php5ts.dll crashes apache if mysql ext is used.
Description: ------------ Apache/2.2.11 (Win32) (working if not used in conjuction with... mySql + PHP) Mysql Ver 14.14 Distrib 5.1.30, for Win32 (ia32) (working ... PHP 5.2.8 (working ...) Windowze Vizta OS Version 6.0.6001.2.1.0.256.1 And no problem with same setup running under Kubuntu 8.10; works like a charm - no errors(!!). While Googling my way through the internet i stumbled across this: "..." Dependency issue of php_mysql.dll: "..." failure in the dependencies. DwmAPI.dll. (Vista Window Manager) "..." from *http://techmale.com/2008/02/27/how-microsoft-caused-apache-php_mysqldll-to-failusing-vista-dwmapidll/ So the root of this problem seems to be an Internet Explorer dependency.(?) Reproduce code: --------------- <?php //db.php //Database setup: $dbuser = 'blah'; $dbpass = 'blubb'; $dbhost = "won't tell"; function mydbconnect ($db="") { global $dbuser; global $dbpass; global $dbhost; $dblink = @mysql_connect($dbhost, $dbuser, $dbpass); if (!$dblink) die ('Failed to connect to database: ' . mysql_error()); ... Expected result: ---------------- A connection to mysql or ... the error message. Actual result: -------------- Crashed Apache, no connection to mysql and as a result, no error message either. Problem signature: Problem Event Name: APPCRASH Application Name: httpd.exe Application Version: 2.2.11.0 Application Timestamp: 493f5d44 Fault Module Name: php5ts.dll Fault Module Version: 5.2.5.5 Fault Module Timestamp: 4733df98 Exception Code: c0000005 Exception Offset: 0000ab4a OS Version: 6.0.6001.2.1.0.256.1 Locale ID: 1031 Additional Information 1: c797 Additional Information 2: 8067133c6c7966c6a4ceb523ba9cf502 Additional Information 3: 97fc Additional Information 4: ef6496175a5cdac9eb83bb68beb98048 -- Edit bug report at http://bugs.php.net/?id=47122&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47122&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47122&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47122&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47122&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47122&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47122&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47122&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47122&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47122&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47122&r=support Expected behavior: http://bugs.php.net/fix.php?id=47122&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47122&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47122&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47122&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47122&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47122&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47122&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47122&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47122&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47122&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47122&r=mysqlcfg
