ID: 30974 User updated by: diablo dot 4711 at gmx dot de Reported By: diablo dot 4711 at gmx dot de -Status: Feedback +Status: Closed Bug Type: MySQL related Operating System: Windows 2000 Pro PHP Version: 4.3.10RC1 New Comment:
THX for Reply! CVS-Snapshot works with sql.safe_mode = on *closed* Previous Comments: ------------------------------------------------------------------------ [2005-02-01 19:22:48] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2004-12-03 10:59:59] diablo dot 4711 at gmx dot de 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 this bug report at http://bugs.php.net/?id=30974&edit=1