Skip to content

Instantly share code, notes, and snippets.

@shout-poor
Created December 10, 2019 10:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shout-poor/96337287eb47986c2089db1e11eceea9 to your computer and use it in GitHub Desktop.
Save shout-poor/96337287eb47986c2089db1e11eceea9 to your computer and use it in GitHub Desktop.
MacOSX Catalina で phpenv を使おうとしたときの ~/.phpenv/plugins/php-build/share/php-build/default_configure_options
--enable-sockets
--enable-exif
--with-zlib
--with-zlib-dir=/usr/local/opt/zlib
--with-bz2=/usr/local/opt/bzip2
--enable-intl
--with-kerberos
--with-openssl
--enable-soap
--enable-xmlreader
--with-xsl
--enable-ftp
--enable-cgi
--with-curl=/usr/local/opt/curl
--with-tidy=/usr/local/opt/tidy-html5
--with-xmlrpc
--enable-sysvsem
--enable-sysvshm
--enable-shmop
--with-mysqli=mysqlnd
--with-pdo-mysql=mysqlnd
--with-pdo-sqlite
--enable-pcntl
--with-readline=/usr/local/opt/readline
--enable-mbstring
--disable-debug
--enable-fpm
--enable-bcmath
--enable-phpdbg
--with-iconv=/usr/local/opt/libiconv
--with-jpeg-dir=/usr/local/opt/libjpeg
--with-png-dir=/usr/local/opt/libpng
# インストール時のコマンド
# PHP_BUILD_CONFIGURE_OPTS="--with-openssl=$(brew --prefix openssl) --with-libxml-dir=$(brew --prefix libxml2) -with-libedit=$(brew --prefix libedit)" phpenv install 7.2.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment