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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 12:01:31 2024 UTC