HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Adding sqlite/sqlite3 to PHP 5.3.3 on RHEL (http://www.howtoforge.com/forums/showthread.php?t=49846)

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:
Code:

--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.

Samnoob

falko 4th November 2010 19:48

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

<?php
phpinfo();
?>

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: http://www.exteon.ro/en/articles/php/compile-extensions


All times are GMT +2. The time now is 19:14.

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