Created
November 18, 2009 03:03
-
-
Save nekoya/237521 to your computer and use it in GitHub Desktop.
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
| #!/bin/sh | |
| # sudo yum -y install libxml2-devel.x86_64 libjpeg-devel.x86_64 libpng-devel.x86_64 openssl-devel.x86_64 bzip2-devel.x86_64 freetype-devel.x86_64 libmcrypt-devel.x86_64 | |
| ./configure --disable-all \ | |
| --enable-cgi \ | |
| --enable-ctype \ | |
| --enable-dom \ | |
| --enable-fastcgi \ | |
| --enable-filter \ | |
| --enable-gd-jis-conv \ | |
| --enable-gd-native-ttf \ | |
| --enable-json \ | |
| --enable-libxml \ | |
| --enable-mbstring \ | |
| --enable-mbregex \ | |
| --enable-posix \ | |
| --enable-session \ | |
| --enable-simplexml \ | |
| --enable-spl \ | |
| --enable-tokenizer \ | |
| --enable-xml \ | |
| --enable-zend-multibyte \ | |
| --enable-zip \ | |
| --prefix=/opt/php_vers/5.2.11 \ | |
| --with-bz2=shared \ | |
| --with-config-file-path=/opt/php_vers/5.2.11/etc \ | |
| --with-config-file-scan-dir=/opt/etc/php.d \ | |
| --with-iconv=shared \ | |
| --with-libdir=lib \ | |
| --with-libdir=lib64 \ | |
| --with-freetype-dir \ | |
| --with-gd=shared \ | |
| --with-jpeg-dir \ | |
| --with-png-dir \ | |
| --with-zlib-dir \ | |
| --with-mcrypt=shared \ | |
| --with-mysql=shared \ | |
| --with-mysqli=shared \ | |
| --with-openssl=shared \ | |
| --with-pcre-regex \ | |
| --with-pear=/opt/php_vers/5.2.11/share/pear \ | |
| --with-apxs2=/usr/sbin/apxs | |
| # 2008/10/23 | |
| # add --enable-ctype,spl,zip | |
| # ---- | |
| # 2008/10/24 | |
| # add --enable-tokenizer | |
| # ---- | |
| # 2008/12/31 | |
| # add --enable-posix | |
| # ---- | |
| # 2009/06/19 | |
| # add --with-mcrypt=shared | |
| # --enable-filter | |
| # --with-apxs2=/usr/sbin/apxs | |
| # --with-bz2=shared |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment