fossar / nix-phps

Repository of Nix expressions for old PHP versions
MIT License
65 stars 18 forks source link

Override to instal a specific php version #353

Closed hansemschnokeloch closed 2 months ago

hansemschnokeloch commented 3 months ago

How can I write an override to install a specific php version ? For example I would like to downgrade to php 8.2.19 to avoid this bug https://github.com/api-platform/core/issues/6416

drupol commented 3 months ago

Hello,

You could override the src and download a custom version.

Alternatively, you can use this project: https://github.com/loophp/php-src-nix/ It strives to compile all the PHP tags available.