Skip to content

Question about installing PHP extension by passing PHP_CONFIGURE_OPTIONS #109

Closed

Description

@CSY54

I wished to build PHP with ldap support (--with-ldap), so I used PHP_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 makes PHP_CONFIGURE_OPTIONS="--with-ldap" overwrite the default flags such as --with-openssl --with-curl --with-zlib --with-readline --with-gettext generated by os_based_configure_options. (install#L156-L160)

Is this the intended behavior of how PHP_CONFIGURE_OPTIONS works? or PHP_CONFIGURE_OPTIONS should allow us to add different flags from os_based_configure_options?

Activity

  1. locked and limited conversation to collaborators on Feb 26, 2022
  2. converted this issue into a discussion #114 on Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions