skip to Main Content

Nginx with PHP usage of SQLite throws error

I'm using nginx in docker from trafex/php-nginx But I don't get SQLite working. The following php code <?php $db = new SQLite3('/var/private/anmeldungen.db'); $db->close(); throws this error [error] 9#9: *33 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error:…

VIEW QUESTION

Install specific version of PHP in Alpine Linux – PHP Versions

I am trying to install PHP v8.0.2 on an Alpine Linux, but I get the following message: apk add php8=8.0.2 fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz ERROR: unable to select packages: php8-8.0.6-r0: breaks: world[php8=8.0.2] Is there any way I can get it…

VIEW QUESTION
Back To Top
Search