Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6154331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:14:45+00:00 2026-05-23T20:14:45+00:00

I tried asking the question php – Is there a binary package for php5-sqlite3

  • 0

I tried asking the question php – Is there a binary package for php5-sqlite3 with fts3 enabled? – Ask Ubuntu – Stack Exchange; but no dice there – so I’ll try here again in different words: how can one enable FTS3 under SQLite3 for php on an Ubuntu Linux server?

I would want to enable FTS3 for a Mediawiki using Sqlite – and I typically get the “no such module: fts3” error.

I have found:

  • how to enable sqlite3 for php? – Stack Overflow – where it is recommended that php5-sqlite3 is removed and sqlite3 is installed from source (though no specific mention of FTS3)
  • Old Nabble – SQLite – FTS3 indexing in PHP < 5.3 which says:

> and here is the error:
>
> ‘SQLSTATE[HY000]: General error: 1 no such module: fts3’
>

There is a compile-time option: SQLITE_ENABLE_FTS3

… which, I guess, eventually says that there is no other way to activate FTS3 for SQlite3 for PHP – other than building sqlite for php from source? That would not be a good option for me, since I have no rights on the production server… which is why I’d ask again: is there some sort of a binary package to help me get FTS3 enabled?

If there isn’t a binary package for that – I imagine the sqlite3 part for php will be compiled as an .so object. Is there a way to persuade PHP to, somehow, load an “external” .so just for a particular server directory (akin to how ini_set is used to change display_errors locally)?

EDIT: Bonus question: Say I’ve installed sqlite3 with FTS3 enabled from source; will PHP show some sort of a message/indication in phpinfo(), and what will that message be?

Thanks in advance for any answers,
Cheers!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:14:45+00:00Added an answer on May 23, 2026 at 8:14 pm

    Use answer from how to enable sqlite3 for php? – Stack Overflow but instead of

    $ sudo ./configure
    

    you need

    $ sudo CPPFLAGS="-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS" ./configure
    

    Credits to: sqlite – fts3 manual. Just to clarify, you don’t need install separate php5-sqlite3 package because if you look into http://pecl.php.net/get/sqlite3-0.6.tgz you will see that php_sqlite3 included there. Btw, important line from INSTALL file:

    Make sure you have extension=sqlite3.so in your php.ini

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've tried to simplify for the purposes of asking this question. Hopefully, this will
I know there have been a few other people asking this question, but my
Okay I tried asking this question yesterday but i'm not sure if I gave
After asking this question: Clean URLs for search query? I tried something with mod_rewrite:
I tried asking a similar question recently however after several answers I realized it
Tried examples from 'php.net' but don't understand what's the problem. Any suggestions? <?php $_SESSION['test']
Sorry for asking a basic question like this but I've been reading on this
I feel bad asking this question but I am currently not able to program
Asking this question for a friend of mine. My client had send me a
Sorry for asking a question about something I don't know much about, but I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.