How does on enable sqlite in php without compiling php from scratch?
I thought I had the packages needed for sqlite to work, namely:
[root@h... ~]# rpm -qa | grep php php-pdo-5.3.5-1.fc14.x86_64 php-cli-5.3.5-1.fc14.x86_64 php-common-5.3.5-1.fc14.x86_64 php-5.3.5-1.fc14.x86_64
but still, phpinfo(() tells me the sqlite modules are not configured to load:
Configure Command './configure' (...) '--without-sqlite' '--disable-pdo' '--without-sqlite3' (...)
Any help would be greatly appreciated.
Andrew
On 01/29/2011 01:52 AM, Andrew Dietz wrote:
How does on enable sqlite in php without compiling php from scratch?
I thought I had the packages needed for sqlite to work, namely:
[root@h... ~]# rpm -qa | grep php php-pdo-5.3.5-1.fc14.x86_64 php-cli-5.3.5-1.fc14.x86_64 php-common-5.3.5-1.fc14.x86_64 php-5.3.5-1.fc14.x86_64
but still, phpinfo(() tells me the sqlite modules are not configured to load:
Configure Command './configure' (...) '--without-sqlite' '--disable-pdo' '--without-sqlite3' (...)
Any help would be greatly appreciated.
# yum install php-pdo
Rahul
Andrew Dietz wrote:
but still, phpinfo(() tells me the sqlite modules are not configured to load:
Configure Command './configure' (...) '--without-sqlite' '--disable-pdo' '--without-sqlite3' (...)
I saw Rahul replied just as soon as I did, but you already had it installed.
The configure line is for php and you can ignore it. SQLite support is provided by the php-pdo package.
Le 28/01/2011 21:22, Andrew Dietz a écrit :
but still, phpinfo(() tells me the sqlite modules are not configured to load:
Configure Command './configure' (...) '--without-sqlite' '--disable-pdo' '--without-sqlite3' (...)
Read : http://blog.famillecollet.com/post/2010/09/29/phpinfo-BUG-or-PEBKAC
Remi.
Good info, thanks!
----- Original Message ----- From: "Remi Collet" Fedora@FamilleCollet.com To: "Community support for Fedora users" users@lists.fedoraproject.org Sent: Saturday, January 29, 2011 2:48:42 AM Subject: Re: Enabling sqlite in php 5.3.5
Le 28/01/2011 21:22, Andrew Dietz a écrit :
but still, phpinfo(() tells me the sqlite modules are not configured to load:
Configure Command './configure' (...) '--without-sqlite' '--disable-pdo' '--without-sqlite3' (...)
Read : http://blog.famillecollet.com/post/2010/09/29/phpinfo-BUG-or-PEBKAC
Remi.