Created
November 7, 2011 04:18
-
-
Save tanakahisateru/1344162 to your computer and use it in GitHub Desktop.
PHP5.4 configure with MacPorts besides existing PHP
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 \ | |
--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=/opt/local/bin/mysql_config5 \ | |
--with-mysql-sock=/opt/local/var/run/mysql5/mysqld.sock \ | |
--with-pgsql \ | |
--with-pear \ | |
--enable-mbstring \ | |
--with-curl \ | |
--enable-ftp \ | |
--enable-soap \ | |
--enable-sockets \ | |
--with-gd \ | |
--with-jpeg-dir=/opt/local \ | |
--with-vpx-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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry, not to follow package dependencies because of plain shell command.
You can install libvpx via macports, or Instead, remove
--with-vpx-dir
option if you would never use it.Well, though video codec not so useful. I forgot why I include that...