View Single Post
Old 03-30-2010, 08:56 PM   #1
Junior Member
 
Join Date: Mar 2010
Posts: 5
sykkes is on a distinguished road
Default Is sqlite disabled by default???

I'm using a CloudLinux VPS Image with VPS.net with ISPManager Pro pre-installed on it. I found that when installed, sqlite wasn't enabled so I went into ISPManager's PHP Modules configuration section, and enabled php_pdo and pdo_sqlite as per the php.net documentations. However having done this (and restarted Apache and even reboot the vps) I'm still getting the same "Fatal error: Call to undefined function sqlite_open() in..." error when I try to open an sqlite v2 database in php...I've narrowed it down to being something to do with sqlite not being 'enabled' globally in php, when it was compiled, because if i load a phpinfo file up, I can clearly see in the parameter list "--without-sqlite" so I gathered that here is the problem.

I already asked VPS.net is there a way around this, but now they're expecting me to pay $10 to open a ticket to 'solve' something which should imho be enabled by default. Is there any reason why sqlite is disabled like this (does ISPManager compile php this way by default for whatever reason), or are VPS.net the ones who configured it that way?

Thanks...
sykkes is offline   Reply With Quote