asdf-community / asdf-php

PHP plugin for the asdf version manager
https://github.com/asdf-vm/asdf
Apache License 2.0
222 stars 102 forks source link

Add PHP_ADDITIONAL_CONFIG_OPTIONS #154

Open reinaldorauch opened 1 year ago

reinaldorauch commented 1 year ago

Adding PHP_ADDITIONAL_CONFIG_OPTIONS to allow the user add custom build config options to the script without changing default behavior.

Motivation: I had to mimic the build script to add a optional extension for password_hash(PASSWORD_ARGON2ID) usage.

If I had this option I only needed to do PHP_ADDITIONAL_CONFIG_OPTIONS="--with-password-argon2" asdf install php latest to add that option

mortenscheel commented 5 days ago

Is this plugin abandoned? This PR is a no-brainer that would allow us to fix a lot of issues ourselves.