Comments (4)
On Windows I think there will be an update to SQLite 3.46 one day soon. For other platforms the SQLite library version depends on the packagers and their versioning policy so it cannot be done in php-src like this at this point. For example, on Ubuntu Linux, Canonical and package maintainers decide the package versions for the timeline of some Linux distribution. However, you can build PHP on your own from sources (not exactly recommended to do so for some production due to very complex process and a lot of configuration options). Or the Docker PHP images are also using very recent Linux distributions with quite updated SQLite library.
PHP on the other hand can only limit the minimum required SQLite version and push that a bit as a requirement.
from php-src.
from php-src.
See php/web-php#1005 (comment) regarding the Windows side.
I don't think there's anything we can do for other platforms; distros are downstream projects, and can rightly do what they deem appropriate. Dynamically linking php_sqlite3.so with an sqlite3 library is likely not an option for binary compatibility which might not be guaranteed by SQLite3 which is an upstream project.
Note though that building your own php_sqlite3.so/.dll isn't that hard if you use phpize
(Windows is likely to require some more involved general build setup, though).
from php-src.
Wrt. Windows see winlibs/sqlite3#6.
Also note that it might not be the best idea to update SQLite3 during the release cycle of a minor PHP version (unless there would be security issues); there always can be minor incompatibilites, so this would need to be discussed on a case by case basis. Updating SQLite3 during GA of a new PHP minor version is likely a good idea, though.
from php-src.
Related Issues (20)
- Proposal: Dump circular references in var_export() using IIFE HOT 7
- magic property guards are not reset in timeout HOT 8
- Show symlinks in stack trace file paths HOT 5
- Comparing string to integer without casting or intval gives unexpected behavior since version 7.4 HOT 2
- FPM status add more process infos
- The file /php-src/Zend/Optimizer/escape_analysis.c has a memory leak defect at line 417
- The file /php-src/Zend/zend_ini.c has a memory leak defect at line 247.
- There is a memory leak defect at line 2214 in /php-src/main/streams/streams.c. HOT 4
- There is a memory leak defect at line 786 in the file /php-src/ext/phar/stream.c.
- Opcache prevents file from being added to realpath cache? HOT 1
- setTimestamp sets the wrong value HOT 2
- Integer overflow on stream_notification_callback byte_max parameter with files bigger than 2GB HOT 1
- Arguments count should be checked prior individual argument type HOT 8
- array_diff weirdness HOT 5
- The ldap extension cannot be built on Solaris with Oracle Instant Client HOT 11
- PCRE pattern cache crashes process in wrapper stream_close called after shutdown HOT 2
- 8.4.0alpha2 fails to build: `error: redefinition of typedef ‘zend_string’` HOT 12
- BUG : Compiling opcache extensions statically into ZTS PHP , JIT bug HOT 6
- In Czech function have bad order with diacritic HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-src.