php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27302 Odd behavior loading extensions (SQLite)
Submitted: 2004-02-18 00:25 UTC Modified: 2004-02-18 01:26 UTC
From: sean@php.net Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.4 OS: Linux 2.4.24-6um
Private report: No CVE-ID: None
 [2004-02-18 00:25 UTC] sean@php.net
Description:
------------
Please take a look at:
http://www.roguecoders.com/bugs/php_sqlite_load.txt

You'll see the PHP reports that it will use php.ini, but SQLite doesn't get loaded unless I implicitly tell php to use the SAME php.ini.

I've asked around.. nobody can figure it out.

S


Reproduce code:
---------------
see http://www.roguecoders.com/bugs/php_sqlite_load.txt

Expected result:
----------------
see http://www.roguecoders.com/bugs/php_sqlite_load.txt

Actual result:
--------------
see http://www.roguecoders.com/bugs/php_sqlite_load.txt

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-18 01:09 UTC] wez@php.net
You probably misconfigured PHP when you built it:

--with-config-file-path=PATH  
     Sets the path in which to look for php.ini,
     defaults to PREFIX/lib

This is a directory, not a path to the file name itself.

 [2004-02-18 01:26 UTC] sean@php.net
You're 100% correct.
Thanks for the pointer. It's really confusing that PHP reports the file, even though it's not actually using it, but I understand why.

Closing (my own bogus (-: )
(how embarassing)

Thanks again.
S
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 27 14:00:03 2025 UTC