03-30-2010, 08:56 PM | #1 |
Junior Member
Join Date: Mar 2010
Posts: 5
|
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... |
03-31-2010, 01:50 AM | #3 | ||
Junior Member
Join Date: Mar 2010
Posts: 5
|
"php-cgi -m"
Quote:
Quote:
2.6.18-264.2.1.el5.7.cloudlinuxxen |
||
04-13-2010, 04:53 AM | #6 |
ISPsystem team
Join Date: May 2009
Posts: 6
|
You need sqlite extension. Not pod_sqlite. See to http://be.php.net/manual/en/book.sqlite.php
You can try install it from ISPManager - PHP Extensions |
04-13-2010, 05:07 AM | #7 | |
Junior Member
Join Date: Mar 2010
Posts: 5
|
Quote:
|
|
04-13-2010, 07:14 PM | #8 |
ISPsystem team
Join Date: May 2008
Location: ISPsystem
Posts: 588
|
ISPmanager instal the software from repositories of your operating system, we do not compile the given software (such as PHP/Apache/MySQL/MTA).
Possibly it is necessary for you to access in technical support of from whom buy a server for recompilation with flags as you needed (as a variant) or upgrades installed PHP to new version, possible it is "bug" in the old version PHP. |
Tags |
sqlite |
|
|