doutui8842 2013-06-20 11:06
浏览 152
已采纳

XAMPP Php SQLite3没有这样的模块:fts3- ubuntu服务器12.04 X86

I tried google and find two articles about it.

And with the sqlite introduction link http://www.sqlite.org/fts3.html#section_2

I used XAMPP Development package and download the php-5.4.7.tar.gz(http://us1.php.net/distributions/php-5.4.7.tar.gz) try to compilatie the sqlite3.

But when I cd into php-5.4.7\ext\sqlite3 and use /opt/lampp/bin/phpize It shows about "can not find config.m4. Make sure that you run '/opt/lampp/bin/phpize' in the top level source directory of the module". I'm sure I had already in the top level source directory of the module...

Is there some knows what I can do to solve it? Please give me some advice. Thank you for your help^_^

Here are two articles I found but I think they are useless for my problem: LInux: How to install FTS3 (for sqlite3) in PHP? how to enable sqlite3 for php?

  • 写回答

1条回答

  • douxunchen3498 2013-06-23 10:54
    关注

    1.download xampp-linux-devel-1.8.1.tar.gz

    tar xf xampp-linux-devel-1.8.1.tar.gz -C /opt
    

    2.download php-5.4.16.tar.gz

    tar xf php-5.4.16.tar.gz -C /opt
    cd php-5.4.15。
    ./configure --prefix=/opt/lampp/php-5.4.15 --enable-fpm --with-apxs2=/opt/lampp/bin/apxs --with-mysql=mysqlnd --with-zlib=yes --with-zlib-dir=/opt/lampp --with-mysql-sock=/opt/lampp/var/mysql/mysql.sock --enable-mbstring=all --with-curl=/opt/lampp --enable-mbregex --with-mysqli=mysqlnd --with-iconv --with-pdo-mysql=mysqlnd --with-pdo-sqlite --with-libxml-dir=/opt/lampp
    make
    sudo make install
    /opt/lampp/lampp restart
    

    This solution from my colleague GF→http://gfzj.us/ But he doesn't write the detail.

    If you need more detail, you can see my blog shipengliang.com/software-exp/关于xampp使用sqlite3-报错sqlite3-no-such-module-fts3的解决办法.html#Englishversion

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog
  • ¥15 Excel发现不可读取的内容
  • ¥15 关于#stm32#的问题:CANOpen的PDO同步传输问题