You are not logged in.

#1 2010-04-03 19:32:12

Alplob
Member
Registered: 2008-10-25
Posts: 3

[SQLite] How to use SQLite with PHP/Httpd ?

Hello Folks,

I'd like to use SQLite with PHP and Httpd in order to create easily my own portable CMS.

But I don't manage to have access to SQLite with PHP/Httpd. Nothing appears with this script :

<?php
echo sqlite_libversion();
?>

However I've installed core/sqlite3 and extra/php-sqlite and I've uncommented these following lines in my php.ini  :

extension=pdo_sqlite.so
extension=sqlite.so
extension=sqlite3.so

and restarted a couple of times httpd neutral

Someone has an idea to resolve this problem?

Thanks

Alplob

Offline

#2 2010-04-04 12:14:55

bungow
Member
Registered: 2009-12-03
Posts: 12

Re: [SQLite] How to use SQLite with PHP/Httpd ?

Hi!, try enabling pdo.so, pdo_sqlite requires it.

Last edited by bungow (2010-04-04 12:15:11)


#507600

Offline

#3 2010-04-04 12:19:41

ehlo
Member
From: England
Registered: 2010-04-04
Posts: 66

Re: [SQLite] How to use SQLite with PHP/Httpd ?

You can also confirm that SQLite is present in phpinfo()

Offline

#4 2010-04-05 10:48:00

Alplob
Member
Registered: 2008-10-25
Posts: 3

Re: [SQLite] How to use SQLite with PHP/Httpd ?

bungow wrote:

Hi!, try enabling pdo.so, pdo_sqlite requires it.

Houra, thanks a lot !!

Offline

Board footer

Powered by FluxBB