Replies: 1 comment
-
Did you try appending to the options instead of overwriting them?:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wished to build PHP with ldap support (
--with-ldap
), so I usedPHP_CONFIGURE_OPTIONS="--with-ldap" asdf php install 8.0.14
.However, after building it, it seems that
curl
couldn't get HTTPS resources, turns out that OpenSSL wasn't being included during configuring PHP.After tracing
install
script, options from$(os_based_configure_options)
and$PHP_CONFIGURE_OPTIONS
are mutually exclusive, which makesPHP_CONFIGURE_OPTIONS="--with-ldap"
overwrite the default flags such as--with-openssl --with-curl --with-zlib --with-readline --with-gettext
generated byos_based_configure_options
. (install#L156-L160)Is this the intended behavior of how
PHP_CONFIGURE_OPTIONS
works? orPHP_CONFIGURE_OPTIONS
should allow us to add different flags fromos_based_configure_options
?Beta Was this translation helpful? Give feedback.
All reactions