Created
April 7, 2019 17:45
-
-
Save mozhu1024/38b198f092d747c14d65b816223565d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export LDFLAGS="-L/usr/local/opt/openssl/lib \ | |
-L/usr/local/opt/sqlite/lib \ | |
-L/usr/local/opt/curl-openssl/lib \ | |
-L/usr/local/opt/webp/lib \ | |
-L/usr/local/opt/jpeg/lib \ | |
-L/usr/local/opt/libpng/lib \ | |
-L/usr/local/opt/freetype/lib \ | |
-L/usr/local/opt/gettext/lib \ | |
-L/usr/local/opt/gmp/lib \ | |
-L/usr/local/opt/icu4c/lib \ | |
-L/usr/local/opt/unixodbc/lib \ | |
-L/usr/local/opt/freetds/lib \ | |
-L/usr/local/opt/libpq/lib \ | |
-L/usr/local/opt/aspell/lib \ | |
-L/usr/local/opt/libsodium/lib \ | |
-L/usr/local/opt/argon2/lib \ | |
-L/usr/local/opt/tidy-html5/lib \ | |
-L/usr/local/opt/libzip/lib \ | |
-L/usr/local/opt/libiconv/lib" | |
export CPPFLAGS="-I/usr/local/opt/openssl/include \ | |
-I/usr/local/opt/sqlite/include \ | |
-I/usr/local/opt/curl-openssl/include \ | |
-I/usr/local/opt/webp/include \ | |
-I/usr/local/opt/jpeg/include \ | |
-I/usr/local/opt/libpng/include \ | |
-I/usr/local/opt/freetype/include \ | |
-I/usr/local/opt/gettext/include \ | |
-I/usr/local/opt/gmp/include \ | |
-I/usr/local/opt/icu4c/include \ | |
-I/usr/local/opt/unixodbc/include \ | |
-I/usr/local/opt/freetds/include \ | |
-I/usr/local/opt/libpq/include \ | |
-I/usr/local/opt/aspell/include \ | |
-I/usr/local/opt/libsodium/include \ | |
-I/usr/local/opt/argon2/include \ | |
-I/usr/local/opt/tidy-html5/include \ | |
-I/usr/local/opt/libzip/include \ | |
-I/usr/local/opt/libiconv/include" | |
./configure \ | |
--prefix=/usr/local/opt/php@7.3d \ | |
--sysconfdir=/usr/local/etc/php/7.3d \ | |
--with-config-file-path=/usr/local/etc/php/7.3d \ | |
--with-config-file-scan-dir=/usr/local/etc/php/7.3d/conf.d \ | |
--with-pear=/usr/local/opt/php@7.3d/share/php/pear \ | |
--localstatedir=/usr/local/var \ | |
--enable-bcmath \ | |
--enable-calendar \ | |
--enable-dba \ | |
--enable-dtrace \ | |
--enable-exif \ | |
--enable-ftp \ | |
--enable-intl \ | |
--enable-mbregex \ | |
--enable-mbstring \ | |
--enable-mysqlnd \ | |
--enable-opcache-file \ | |
--enable-pcntl \ | |
--enable-phpdbg \ | |
--enable-phpdbg-webhelper \ | |
--enable-shmop \ | |
--enable-soap \ | |
--enable-sockets \ | |
--enable-sysvmsg \ | |
--enable-sysvsem \ | |
--enable-sysvshm \ | |
--enable-wddx \ | |
--enable-zip \ | |
--with-gd \ | |
--with-libzip \ | |
--with-xmlrpc \ | |
--with-pic \ | |
--with-curl=/usr/local/opt/curl-openssl \ | |
--with-freetype-dir=/usr/local/opt/freetype \ | |
--with-gettext=/usr/local/opt/gettext \ | |
--with-gmp=/usr/local/opt/gmp \ | |
--with-icu-dir=/usr/local/opt/icu4c \ | |
--with-jpeg-dir=/usr/local/opt/jpeg \ | |
--with-layout=GNU \ | |
--with-mysql-sock=/tmp/mysql.sock \ | |
--with-mysqli=mysqlnd \ | |
--with-openssl=/usr/local/opt/openssl \ | |
--with-password-argon2=/usr/local/opt/argon2 \ | |
--with-pdo-dblib=/usr/local/opt/freetds \ | |
--with-pdo-mysql=mysqlnd \ | |
--with-pdo-pgsql=/usr/local/opt/libpq \ | |
--with-pdo-sqlite=/usr/local/opt/sqlite \ | |
--with-pdo-odbc=unixODBC,/usr/local/opt/unixodbc \ | |
--with-pgsql=/usr/local/opt/libpq \ | |
--with-png-dir=/usr/local/opt/libpng \ | |
--with-pspell=/usr/local/opt/aspell \ | |
--with-sodium=/usr/local/opt/libsodium \ | |
--with-sqlite3=/usr/local/opt/sqlite \ | |
--with-tidy=/usr/local/opt/tidy-html5 \ | |
--with-unixODBC=/usr/local/opt/unixodbc \ | |
--with-webp-dir=/usr/local/opt/webp \ | |
--with-libxml-dir=/usr/local/opt/libxml2 \ | |
--with-iconv=/usr/local/opt/libiconv \ | |
--with-iconv-dir=/usr/local/opt/libiconv \ | |
--with-bz2=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr \ | |
--with-kerberos=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr \ | |
--with-libedit=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr \ | |
--with-mhash=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr \ | |
--with-ndbm=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr \ | |
--with-xsl=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr \ | |
--with-zlib=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr \ | |
--enable-debug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment