-
I need use php_pgsql. Is possible install on asdf installation? |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments
-
Doesn't this work? PHP_CONFIGURE_OPTIONS="--with-pgsql" asdf install php <VERSION> or PHP_CONFIGURE_OPTIONS="--with-pgsql=<PATH TO PSQL>" asdf install php <VERSION> |
Beta Was this translation helpful? Give feedback.
-
The installation dont finished. I use: |
Beta Was this translation helpful? Give feedback.
-
Please tell me the environmental information such as OS, its version, etc... |
Beta Was this translation helpful? Give feedback.
-
If you are using macOS, have you done all these steps? brew install autoconf automake bison freetype gettext icu4c krb5 libedit libiconv libjpeg libpng libxml2 libzip pkg-config re2c zlib
export PKG_CONFIG_PATH="$(brew --prefix icu4c)/lib/pkgconfig:$(brew --prefix krb5)/lib/pkgconfig:$(brew --prefix libedit)/lib/pkgconfig:$(brew --prefix libxml2)/lib/pkgconfig:$(brew --prefix openssl)/lib/pkgconfig"
export PATH="$(brew --prefix bison)/bin:$PATH"
PHP_CONFIGURE_OPTIONS="--with-pgsql" asdf install php 7.4.12 |
Beta Was this translation helpful? Give feedback.
-
Probably because openssl is not found, if the following log appears during configure: checking for OpenSSL support... no For example, I use Void Linux, so I had to specify it like this: PHP_CONFIGURE_OPTIONS="--with-pgsql --with-openssl=/usr/include/openssl" asdf install php 7.4.12 |
Beta Was this translation helpful? Give feedback.
-
Hi, i use arch linux |
Beta Was this translation helpful? Give feedback.
-
I will try --with-openssl |
Beta Was this translation helpful? Give feedback.
-
It's work. Thank you very much. |
Beta Was this translation helpful? Give feedback.
-
I'm glad it works. Your question seems to have been resolved, so I will close this issue. |
Beta Was this translation helpful? Give feedback.
Probably because openssl is not found, if the following log appears during configure:
checking for OpenSSL support... no
For example, I use Void Linux, so I had to specify it like this:
PHP_CONFIGURE_OPTIONS="--with-pgsql --with-openssl=/usr/include/openssl" asdf install php 7.4.12