HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   HOWTO-Related Questions (
-   -   Adding sqlite/sqlite3 to PHP 5.3.3 on RHEL (

sjbramley 3rd November 2010 18:33

Adding sqlite/sqlite3 to PHP 5.3.3 on RHEL
N00b alert, I guess if you hate N00bs then this is your warning.
Ok guys, this was really a last route for me as I don't particularly enjoy asking for help apposed to reading articles and trying to figure things out for myself however I'm stumped on this one.

I've installed php 5.3 on a RHEL5 machine and I need SQLite3 to work with it because of a new feature we're offering on our site. The problem I come across in the php.ini is:

--disable-pdo, --without-sqlite3, -without-sqlite
I installed php via Yum and the PDO extension is also installed, however I've read reports that you have manually compile php to do this with --enable ...

Only problem I have is that I've never had to compile anything before, I don't know where I'd find the source from my PHP to even start doing so. Can anybody point me in the right direction.

Cheers in advance.


falko 4th November 2010 19:48

Can you create the following file and access it in a browser?


Is SQLite mentioned somewhere on the page?

sjbramley 4th November 2010 20:34

Thanks for the reply Falko, after doing quite a bit of research it became apparent to me that Ubuntu was a safer bet for sqlite, etc. I have it working now under the new OS.

Appreciated though.

webzenguy 15th May 2011 00:42

sqlite, sqlite3 to php on rhel
There is a great tutorial on installing sqlite, sqlite3 and mcrypt on Centos here:

All times are GMT +2. The time now is 12:57.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.