|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-10-19 08:50 UTC] erictsau at gmail dot com
-Operating System: Windows 8.1
+Operating System: all
-PHP Version: 5.6.2
+PHP Version: all
[2014-10-19 08:50 UTC] erictsau at gmail dot com
[2014-11-30 03:59 UTC] erictsau at gmail dot com
-Status: Open
+Status: Closed
[2014-11-30 03:59 UTC] erictsau at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 01:00:01 2025 UTC |
Description: ------------ Php does not have full support for sqlite3 fts4. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1 unknown tokenizer: unicode61' in test.php:4 Stack trace: #0 test.php(4): PDO->exec('create virtual ...') #1 {main} thrown in test.php on line 4 add this compile flag to fix: -DSQLITE_ENABLE_FTS4_UNICODE61 Test script: --------------- <?php $pdo = new PDO('sqlite::memory:'); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $pdo->exec('create virtual table a using fts4(s,c,b,tokenize=unicode61)'); $pdo->exec('insert into a values(0,9)');