Fedora Linux Support Community & Resources Center
  #1  
Old 24th March 2006, 04:47 AM
bkat Offline
Registered User
 
Join Date: Jun 2005
Posts: 52
FC5, PHP, and SQLite

I've gotten tired of fedora not including sqlite support with php. I know that pdo-sqlite exists but PDO is not compatible with PEAR DB, etc. I had previously compiled an old version of php-pecl-sqlite but for whatever reason, that had some issues with 5.1 and would insert garbage instead of nulls. So I decided that what I really wanted was the sqlite that should be compiled with php but isn't.

I modified the php.spec file to build sqlite and create a php-sqlite package.

The rpm file is at
http://womensfooty.com/fedora/core/5...1.2-5.i386.rpm

and the spec file is at
http://womensfooty.com/fedora/core/5/specs/php.spec

Right, now you have to recompile all of php. I'd like to modify this so that I can compile just the sqlite extension.I hope this is of use to other people. I'll get around to seeing if I can get this in fedora-extras or freshrpms.

kathryn
Reply With Quote
  #2  
Old 24th March 2006, 06:27 AM
d_GeNeRiT Offline
Registered User
 
Join Date: Jan 2006
Posts: 188
Great Info! Thanks
Reply With Quote
  #3  
Old 24th March 2006, 11:24 AM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
Yeah, this comes in handy.... thanks
Reply With Quote
  #4  
Old 25th April 2006, 03:34 AM
xaphalanx Offline
Registered User
 
Join Date: Apr 2006
Posts: 5
Gee link is dead, does anybody know where I can find an php-sqlite rpm for PHP5.1.2 on FC 5?

Thanks
Reply With Quote
  #5  
Old 25th April 2006, 03:36 AM
xaphalanx Offline
Registered User
 
Join Date: Apr 2006
Posts: 5
Never mind the link is bad.

I found it here:

http://womensfooty.com/fedora/core/5/RPMS/i386/
Reply With Quote
  #6  
Old 25th April 2006, 03:58 AM
bkat Offline
Registered User
 
Join Date: Jun 2005
Posts: 52
Quote:
Originally Posted by xaphalanx
Never mind the link is bad.

I found it here:

http://womensfooty.com/fedora/core/5/RPMS/i386/
My bad. I cleaned it up so that you can use it as a yum repository. If you add the following file to your /etc/yum.repos.d/ directory, you can pick up my rpms (just php-sqlite and ndiswrapper at the moment) via yum
/etc/yum.repos.d/kjh.repo
[kjh]
name=Fedora Linux $releasever - $basearch - kjhrpms
baseurl=http://womensfooty.com/fedora/core/$releasever/RPMS/$basearch
enabled=1
gpgcheck=0
Reply With Quote
  #7  
Old 11th July 2006, 02:22 AM
jcwinnie Offline
Registered User
 
Join Date: Nov 2003
Location: SouthernTierNY, USA
Posts: 129
Thanks. This worked.
__________________
Stay Clear of Netgear
Reply With Quote
Reply

Tags
fc5, php, sqlite

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
SQLite Problems... osprey Servers & Networking 2 16th June 2007 10:48 PM
FC4 PHP and SQLite bkat Using Fedora 9 14th March 2006 02:48 PM
using sqlite in PHP PurpleT Using Fedora 0 19th July 2005 06:47 PM
sqlite for php5 sn0n Servers & Networking 0 22nd March 2005 09:55 AM


Current GMT-time: 07:31 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat