Closed porozhnyy closed 1 year ago
Hello,
Packaged unit-php built for php version which is shipped with focal
. You've installed php from 3rd party repository and you need to build your own unit-php from sources (see http://unit.nginx.org/installation/#installation-modules-php).
@mar0x Thank you! Are there any plans to divide the unit-php into php versions? For example unit-php7.4, unit-php8.0, etc. This would make installation and use much easier
Yes, we can provide different versions, if the distributive provides corresponding php packages. We cannot rely on 3rd party repositories.
Hi @porozhnyy, please check a new Docker image we now have: nginx/unit:1.22.0-php8.0
(http://unit.nginx.org/installation/#docker-images) - hope it will suit your needs.
Hello! When installing php version 8, the following error occurs in the logs:
Steps to reproduce:
Create symlink with
ln -s /usr/lib/libphp.so /usr/lib/libphp7.so
does not work (which is logical) - I get an error