US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting

Notices

Reply
 
Thread Tools
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
Old 03-31-2010, 01:16 AM   #2
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

What's show
Code:
php-cgi -m
or
Code:
php -m
command ? What operation system you have?
slava is offline   Reply With Quote
Old 03-31-2010, 01:50 AM   #3
Junior Member
 
Join Date: Mar 2010
Posts: 5
sykkes is on a distinguished road
Default

"php-cgi -m"
Quote:
[PHP Modules]
bz2
calendar
ctype
curl
date
dbase
exif
ftp
gettext
gmp
hash
iconv
libxml
mbstring
mime_magic
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
posix
pspell
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
zlib

[Zend Modules]
"php -m"
Quote:
[PHP Modules]
bz2
calendar
ctype
curl
date
dbase
exif
ftp
gettext
gmp
hash
iconv
libxml
mbstring
mime_magic
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
posix
pspell
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
zlib

[Zend Modules]
I have 'CloudLinux' by VPS.net:
2.6.18-264.2.1.el5.7.cloudlinuxxen
sykkes is offline   Reply With Quote
Old 03-31-2010, 05:50 PM   #4
Junior Member
 
Join Date: Mar 2010
Posts: 5
sykkes is on a distinguished road
Default

sorry if i'm rushing you, but any update on this? it's urgent i get my vps back online and i need to know if i'm wasting my time with ISPManager. all i need is sqlite...and yet even with that i have trouble.
sykkes is offline   Reply With Quote
Old 04-10-2010, 02:21 AM   #5
Junior Member
 
Join Date: Mar 2010
Posts: 5
sykkes is on a distinguished road
Default

so no answer to this then? has nobody got an idea, even?
sykkes is offline   Reply With Quote
Old 04-13-2010, 04:53 AM   #6
ISPsystem team
 
Join Date: May 2009
Posts: 6
art is on a distinguished road
Default

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
art is offline   Reply With Quote
Old 04-13-2010, 05:07 AM   #7
Junior Member
 
Join Date: Mar 2010
Posts: 5
sykkes is on a distinguished road
Default

Quote:
Originally Posted by art View Post
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
i have enabled anything i can see named 'sqlite' in the php extensions. otherwise the '--without-sqlite' compilation flag is where the problem lies?
sykkes is offline   Reply With Quote
Old 04-13-2010, 07:14 PM   #8
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

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.
slava is offline   Reply With Quote
Reply

Tags
sqlite

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:59 PM.