[wp-trac] Re: [WordPress Trac] #2317: SQLite support for wp2.0

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 13 21:56:49 GMT 2006

#2317: SQLite support for wp2.0
       Id:  2317         |      Status:  new                     
Component:  General      |    Modified:  Mon Mar 13 21:56:49 2006
 Severity:  enhancement  |   Milestone:  2.5                     
 Priority:  normal       |     Version:  2.0                     
    Owner:  anonymous    |    Reporter:  tume                    
Comment (by havarddahle):

 I also don't need mysql, and tume's patch is certainly a big step in that
 direction.  With some tweaking, I now run the latest WP and sqlite (on PHP
 5.0.5-2ubuntu1.2 CGI).

 I've attached a new diff based on his work, with the changes I had to do
 for it to work on my setup, using wp 2.0.2.

 Note that I never seem to get the hang of creating diffs, so it might blow
 up your toaster and all that. However, it does apply cleanly for me:

   $ cd wordpress-2.0.2/
   $ patch --verbose -p1 < ../sqlite+wordpress.2.0.2-2.diff

 Also, remember to give '''write permissions''' to the web user on '''the
 directory''' where you keep your sqlite database(s). Look at the comments
 in `wp-config-sample.php`.

 tume's original patch had quite a few whitespace changes, and some
 syntactic errors, I've kept the whitespace and removed the errors. It is
 '''still rough, but it works'''.

 NB. Note that categories are screwed up (I can't create them), but I have
 not yet determined whether it is browser related (Konqueror), sqlite
 related, or a big bad bug.

 ''Have fun'',


Ticket URL: <http://trac.wordpress.org/ticket/2317>
WordPress Trac <http://wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list