Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd November 2010, 18:33
sjbramley sjbramley is offline
Junior Member
 
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 4th November 2010, 19:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Can you create the following file and access it in a browser?
Code:
<?php
phpinfo();
?>
Is SQLite mentioned somewhere on the page?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 4th November 2010, 20:34
sjbramley sjbramley is offline
Junior Member
 
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #4  
Old 15th May 2011, 00:42
webzenguy webzenguy is offline
Junior Member
 
Join Date: May 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default 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
Reply With Quote
Reply

Bookmarks

Tags
pdo, php, php5, sqlite

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 22:13
Error when install ISPConfig 2 with components built from source X-admin Installation/Configuration 5 30th April 2010 14:22
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 09:20
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 14:06
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18


All times are GMT +2. The time now is 15:46.


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