Page MenuHomePhabricator

Installation cannot see sqlite database driver, even though it's included with PHP (and enabled)
Closed, InvalidPublic

Description

Author: david.dawkins

Description:
Output from phpinfo()

PHP 5.3.10-Win32-VC9-x86 is installed; this comes with sqlite 3.7 preinstalled, and enabled according to php.ini. However, MediaWiki complains that "no suitable database driver can be found".


Version: 1.18.x
Severity: normal
OS: Windows XP
Platform: PC

Attached:

Details

Reference
bz34543

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:14 AM
bzimport set Reference to bz34543.
bzimport added a subscriber: Unknown Object (MLST).

david.dawkins wrote:

Initialization file for php.ini

Attached:

Okay, it's present in command-line PHP, but it it available to web-PHP? They may have different php.ini's.

david.dawkins wrote:

(In reply to comment #2)

Okay, it's present in command-line PHP, but it it available to web-PHP? They
may have different php.ini's.

You're correct - I ran phpinfo() via a "info.php" file, and could see that it was loading *no* php.ini. I'd already restarted Apache, but of course, I really should have rebooted the machine so that the new PHPRC value propagated to the service shells.

Thank you - user error on my part. Let's close this and mark resolved.