Beginning with php 7.4, they stopped compiling in the sqlite library and began using the shared library. When you load the php8apache2_4.dll module, php is now running under the apache process instead of it's own. This then causes a problem because apache has no clue as to where to find any dependencies an extension might have. Show How to solve in this case; in httpd.conf (might as well add it right below the LoadModule line for php) LoadFile c:/web/PHP8/libsqlite3.dll Restart apache and all should be right in the world. Table of ContentsAboutWhen you install php on a distribution, you cannot go to the last version of Sqlite because each distribution repository just does not update its library. For instance, if you are on CentOs 7, you will stay at the version 3.7.17 And this version does not accept the json extension. Below is a step by step guide that will show you how to create a sqlite shared library and update it on a CentOS 7 distribution. StepsCreation of the SQLite shared library
In our case, we got the following compile option
Locate the shared library that your php installation useTo do this, we will first discover the process id (PID) with the ps command for a command with php.
Install the new shared library
Verification
Supportundefined symbol: sqlite3_column_table_nameYou may have forgotten the SQLITE prefix in the gcc command PHP Startup: Unable to load dynamic library 'sqlite3'
The library and the php module seems to be hard-linked . It means that the php module for instance /usr/lib64/php/modules/pdo_sqlite.so search the exact file /usr/lib64/libsqlite3.so.0.8.6. Even LD_LIBRARY_PATH is not working. Be sure of the name of your file and of your path. Recommended Pages
SQLite - JSONHow to read JSON data in SQLite ? sqlite can query the json format with the JSON extension since the version 3.9.0 (2015-10-14) compile option From the pragma sta "... |