From: diablo dot 4711 at gmx dot de Operating system: Windows 2000 Pro PHP version: 4.3.10RC1 PHP Bug Type: Apache2 related Bug description: php4ts.lib - Access Violation while sql.safe_mode on
Description: ------------ System: W2K Pro HTTPD: 2.0.52 PHP: 4.3.10RC1 MySQL: 4.0.21-nt Note: I read many postings about this bug with php4ts.dll, but none related to sql.safe_mode ... While sql.safe_mode = on i could not connect to any mysql database: > critical error: Unable to connect to database ! < and > Apache.exe cause Access Violation in php4ts.dll < If sql.safe_mode = off everything works as expected ... ---------- changes in php.ini: sql.safe_mode set to on max_execution_time set to 120 memory_limit set to 16M extension=php_gd2.dll activated ---------- default values also won't work ... only insql.safe_mode set to off apache/php works properly ... Reproduce code: --------------- php.ini: set sql.safe_mode = on ... try 2-3 times to connect to a mysql-database ... Expected result: ---------------- proper database connection and displaying a php-forum ... Actual result: -------------- unable to connect to database, and access violation in php4ts.dll ... -- Edit bug report at http://bugs.php.net/?id=30974&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30974&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30974&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30974&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30974&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30974&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30974&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30974&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30974&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30974&r=support Expected behavior: http://bugs.php.net/fix.php?id=30974&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30974&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30974&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30974&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30974&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30974&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30974&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30974&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30974&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30974&r=mysqlcfg
