|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55996 Database cannot be changed using apache
Submitted: 2004-03-06 21:20 UTC Modified: 2004-03-11 16:08 UTC
From: minus273 at BonBon dot net Assigned: wez (profile)
Status: Not a bug Package: SQLite (PECL)
PHP Version: 4.3.3 OS: Linux 2.4.2/Slackware 9.1
Private report: No CVE-ID: None
 [2004-03-06 21:20 UTC] minus273 at BonBon dot net
When called by apache, php_sqlite cannot change database.
If called locally, it can.

Database is chmoded into 666.

Reproduce code:
//Or sqlite_open('foo','0666');
sqlite_query($db,'update ...');

Expected result:
sqlite foo
//Expected to see things inserted or updated

Actual result:
sqlite foo
//The same as not changed


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-11 16:08 UTC]
Make sure that the ownership and permissions of the sqlite database allow apache access to it.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Feb 25 00:01:27 2024 UTC