Why do I get a PHP 5.2.6 segmentation fault when using PDO_SQlite?
- by danieltalsky
This is an installation on ModWest's shared hosting. I have enabled both PDO and PDO_sqlite on the server and phpinfo() verifies both are running. When I access PDO itself, I'm fine, and getting a meaningful error.
<?php
$dbh = new PDO("");
?>
This gives me an "Invalid Connection String" error.
But, as soon as I begin a connection string with sqlite:, I get a total crash. When I run via the webserver, I'm seeing NO error. When I enter a nonexistant filename, PHP does indeed create the file.
I tried running the constructor via CLI and there I do get a simple error:
Segmentation Fault
I'm not seeing ANYTHING in the PHP 5.2.6 changelogs about this bug. Anyone have any additional troubleshooting steps?
The OS is Debian 5.0.4