-
-
Save hidenorigoto/1969986 to your computer and use it in GitHub Desktop.
PHP5.5 PHP5.4 configure for my MacBook Air (MySQL with homebrew / other with macports)
This file contains hidden or 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
./configure \ | |
--prefix=/opt/local/php/5.4 \ | |
--bindir=/opt/local/bin/php54 \ | |
--with-config-file-path=/opt/local/php/5.4/etc \ | |
--with-config-file-scan-dir=/opt/local/php/5.4/var/db \ | |
--mandir=/opt/local/php/5.4/share/man \ | |
--infodir=/opt/local/php/5.4/share/info \ | |
--program-suffix=-5.4 \ | |
--with-apxs2=/opt/local/apache2/bin/apxs \ | |
--enable-pdo \ | |
--with-pdo-sqlite \ | |
--with-pdo-mysql \ | |
--with-pdo-pgsql \ | |
--with-mysql \ | |
--with-mysqli=/usr/local/bin/mysql_config/ \ | |
--with-mysql-sock=/var/mysql/mysql.sock \ | |
--with-pgsql \ | |
--with-pear \ | |
--enable-mbstring \ | |
--with-curl \ | |
--enable-ftp \ | |
--enable-soap \ | |
--enable-sockets \ | |
--with-gd \ | |
--with-jpeg-dir=/opt/local \ | |
--with-png-dir=/opt/local \ | |
--with-xpm-dir=/opt/local \ | |
--with-freetype-dir=/opt/local \ | |
--with-openssl \ | |
--with-libxml-dir=/opt/local \ | |
--with-xsl \ | |
--with-mcrypt=/opt/local \ | |
--with-zlib=/opt/local \ | |
--with-bz2=/opt/local \ | |
--with-mhash=/opt/local \ | |
--with-pcre-regex=/opt/local \ | |
--with-readline=/opt/local \ | |
--with-iconv=/opt/local \ | |
--with-gettext=/opt/local \ | |
--enable-intl \ | |
--enable-pcntl |
This file contains hidden or 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
./configure \ | |
--prefix=/opt/local/php/5.5 \ | |
--bindir=/opt/local/bin/php55 \ | |
--with-config-file-path=/opt/local/php/5.5/etc \ | |
--with-config-file-scan-dir=/opt/local/php/5.5/var/db \ | |
--mandir=/opt/local/php/5.5/share/man \ | |
--infodir=/opt/local/php/5.5/share/info \ | |
--program-suffix=-5.5 \ | |
--with-apxs2=/opt/local/apache2/bin/apxs \ | |
--enable-pdo \ | |
--with-pdo-sqlite \ | |
--with-pdo-mysql \ | |
--with-pdo-pgsql \ | |
--with-mysql \ | |
--with-mysqli=/usr/local/bin/mysql_config/ \ | |
--with-mysql-sock=/var/mysql/mysql.sock \ | |
--with-pgsql \ | |
--with-pear \ | |
--enable-mbstring \ | |
--with-curl \ | |
--enable-ftp \ | |
--enable-soap \ | |
--enable-sockets \ | |
--with-gd \ | |
--with-jpeg-dir=/opt/local \ | |
--with-png-dir=/opt/local \ | |
--with-xpm-dir=/opt/local \ | |
--with-freetype-dir=/opt/local \ | |
--with-openssl \ | |
--with-libxml-dir=/opt/local \ | |
--with-xsl \ | |
--with-mcrypt=/opt/local \ | |
--with-zlib=/opt/local \ | |
--with-bz2=/opt/local \ | |
--with-mhash=/opt/local \ | |
--with-pcre-regex=/opt/local \ | |
--with-readline=/opt/local \ | |
--with-iconv=/opt/local \ | |
--with-gettext=/opt/local \ | |
--enable-intl \ | |
--enable-pcntl |
This file contains hidden or 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
./configure \ | |
--prefix=/opt/local/php/5.2 \ | |
--bindir=/opt/local/bin/php52 \ | |
--with-config-file-path=/opt/local/php/5.2/etc \ | |
--with-config-file-scan-dir=/opt/local/php/5.2/var/db \ | |
--mandir=/opt/local/php/5.2/share/man \ | |
--infodir=/opt/local/php/5.2/share/info \ | |
--program-suffix=-5.2 \ | |
--with-apxs2=/opt/local/apache2/bin/apxs \ | |
--enable-pdo \ | |
--with-pdo-sqlite \ | |
--with-pdo-mysql \ | |
--with-pdo-pgsql \ | |
--with-mysql \ | |
--with-mysqli=/usr/local/bin/mysql_config/ \ | |
--with-mysql-sock=/var/mysql/mysql.sock \ | |
--with-pgsql \ | |
--with-pear \ | |
--enable-mbstring \ | |
--with-curl \ | |
--enable-ftp \ | |
--enable-soap \ | |
--enable-sockets \ | |
--with-gd \ | |
--with-jpeg-dir=/opt/local \ | |
--with-png-dir=/opt/local \ | |
--with-xpm-dir=/opt/local \ | |
--with-freetype-dir=/opt/local \ | |
--with-openssl \ | |
--with-libxml-dir=/opt/local \ | |
--with-xsl \ | |
--with-mcrypt=/opt/local \ | |
--with-zlib=/opt/local \ | |
--with-bz2=/opt/local \ | |
--with-mhash=/opt/local \ | |
--with-pcre-regex=/opt/local \ | |
--with-readline=/opt/local \ | |
--with-iconv=/opt/local \ | |
--with-gettext=/opt/local \ | |
--enable-pcntl |
This file contains hidden or 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
./configure \ | |
--prefix=/opt/local/php/5.5 \ | |
--bindir=/opt/local/bin/php55 \ | |
--with-config-file-path=/opt/local/php/5.5/etc \ | |
--with-config-file-scan-dir=/opt/local/php/5.5/var/db \ | |
--mandir=/opt/local/php/5.5/share/man \ | |
--infodir=/opt/local/php/5.5/share/info \ | |
--program-suffix=-5.5 \ | |
--with-apxs2=/opt/local/apache2/bin/apxs \ | |
--enable-pdo \ | |
--with-pdo-sqlite \ | |
--with-pdo-mysql \ | |
--with-pdo-pgsql \ | |
--with-mysql \ | |
--with-mysqli=/usr/local/bin/mysql_config/ \ | |
--with-mysql-sock=/var/mysql/mysql.sock \ | |
--with-pgsql \ | |
--with-pear \ | |
--enable-mbstring \ | |
--with-curl \ | |
--enable-ftp \ | |
--enable-soap \ | |
--enable-sockets \ | |
--with-gd \ | |
--with-jpeg-dir=/opt/local \ | |
--with-png-dir=/opt/local \ | |
--with-xpm-dir=/opt/local \ | |
--with-freetype-dir=/opt/local \ | |
--with-openssl \ | |
--with-libxml-dir=/opt/local \ | |
--with-xsl \ | |
--with-mcrypt=/opt/local \ | |
--with-zlib=/opt/local \ | |
--with-bz2=/opt/local \ | |
--with-mhash=/opt/local \ | |
--with-pcre-regex=/opt/local \ | |
--with-readline=/opt/local \ | |
--with-iconv=/opt/local \ | |
--with-gettext=/opt/local \ | |
--enable-intl \ | |
--enable-pcntl |
This file contains hidden or 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
./configure \ | |
--prefix=/opt/local/php/5.6 \ | |
--bindir=/opt/local/bin/php56 \ | |
--with-config-file-path=/opt/local/php/5.6/etc \ | |
--with-config-file-scan-dir=/opt/local/php/5.6/var/db \ | |
--mandir=/opt/local/php/5.6/share/man \ | |
--infodir=/opt/local/php/5.6/share/info \ | |
--program-suffix=-5.6 \ | |
--with-apxs2=/opt/local/apache2/bin/apxs \ | |
--enable-pdo \ | |
--with-pdo-sqlite \ | |
--with-pdo-mysql \ | |
--with-pdo-pgsql \ | |
--with-mysql \ | |
--with-mysqli=/usr/local/bin/mysql_config/ \ | |
--with-mysql-sock=/var/mysql/mysql.sock \ | |
--with-pgsql \ | |
--with-pear \ | |
--enable-mbstring \ | |
--with-curl \ | |
--enable-ftp \ | |
--enable-soap \ | |
--enable-sockets \ | |
--with-gd \ | |
--with-jpeg-dir=/opt/local \ | |
--with-png-dir=/opt/local \ | |
--with-xpm-dir=/opt/local \ | |
--with-freetype-dir=/opt/local \ | |
--with-openssl \ | |
--with-libxml-dir=/opt/local \ | |
--with-xsl \ | |
--with-mcrypt=/opt/local \ | |
--with-zlib=/opt/local \ | |
--with-bz2=/opt/local \ | |
--with-mhash=/opt/local \ | |
--with-pcre-regex=/opt/local \ | |
--with-readline=/opt/local \ | |
--with-iconv=/opt/local \ | |
--with-gettext=/opt/local \ | |
--enable-intl \ | |
--enable-pcntl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment