#30974 [Opn->Fbk]: php4ts.lib - Access Violation while sql.safe_mode on

From: Date: Tue, 01 Feb 2005 18:22:49 +0000
Subject: #30974 [Opn->Fbk]: php4ts.lib - Access Violation while sql.safe_mode on
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-73197@lists.php.net to get a copy of this message
ID: 30974 Updated by: sniper@php.net Reported By: diablo dot 4711 at gmx dot de -Status: Open +Status: Feedback Bug Type: MySQL related Operating System: Windows 2000 Pro PHP Version: 4.3.10RC1 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#73197) next »