php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30974 php4ts.lib - Access Violation while sql.safe_mode on
Submitted: 2004-12-03 10:59 UTC Modified: 2005-02-01 22:12 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: diablo dot 4711 at gmx dot de Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.3.10RC1 OS: Windows 2000 Pro
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: diablo dot 4711 at gmx dot de
New email:
PHP Version: OS:

 

 [2004-12-03 10:59 UTC] 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 ...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-01 22:12 UTC] diablo dot 4711 at gmx dot de
THX for Reply!

CVS-Snapshot works with sql.safe_mode = on

*closed*
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 01:01:32 2025 UTC