php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25500 The directory of SQLite_open() use to open the file
Submitted: 2003-09-11 19:01 UTC Modified: 2003-09-11 22:28 UTC
From: o_gangrel at hotmail dot com Assigned:
Status: Not a bug Package: SQLite related
PHP Version: 5.0.0b1 (beta1) OS: Windows 98
Private report: No CVE-ID: None
 [2003-09-11 19:01 UTC] o_gangrel at hotmail dot com
Description:
------------
I am using the configuration Apache/2.0.43 (Win32) PHP/5.0.0b1 with PHP as a module of Apache.

The sqlite_open() open/create the Data Base file in the Apache program directory:

In my case: C:\Program Files\Apache Group\Apache2

The expected is the script directory.

To open at the same directory of the script, I must use the full path of the Data Base file. I guess this is "wrong". (This makes me think in the safe_mode)

I have found solutions to avoid this error, but this is not expected.
And sorry I didn't test the CVS version and other versions of the Apache and SQLite module.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-11 22:28 UTC] sniper@php.net
It is expected. Not bug.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 13:01:27 2024 UTC