Built php with external sqlite #884
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It addresses #731 and my own issue: for not having the RTree extension built-in
I have found a way to build an extension externally and load it using a recipe like https://gist.github.com/zerkms/916cbe1a7714b4feead487dfb8e1e97d
But there are problems with it: it's error prone - the version of sqlite3 should be kept in sync with php, otherwise subtle bugs may occur. Also, it requires dynamic feature detection, which makes applications more complicated.
Given 7.4 switched to the external sqlite3, and given that the sqlite3 dev package is available inside the image nevertheless - what do you think about having all the versions built against the external sqlite3 library?
Thanks.
Fixes #731