Skip to content

Instantly share code, notes, and snippets.

@mori-dev
Created December 1, 2009 08:29
Show Gist options
  • Save mori-dev/246163 to your computer and use it in GitHub Desktop.
Save mori-dev/246163 to your computer and use it in GitHub Desktop.
wget http://jp.php.net/distributions/php-5.3.0.tar.gz
wget http://jp.php.net/distributions/php-5.3.0.tar.gz
wget http://museum.php.net/php5/php-5.1.6.tar.gz
$ ./configure --prefix=/usr/local/php/php-5.2.11 \
--with-bz2 \
--with-gd \
--with-jpeg-dir \
--with-png-dir \
--with-zlib-dir \
--with-freetype-dir \
--with-t1lib \
--enable-gd-native-ttf \
--enable-mbstring \
--enable-mbregex \
--with-mysql \
--with-mysqli \
--enable-pcntl \
--with-pgsql \
--with-readline \
--enable-soap \
--with-xmlrpc \
--with-xsl \
--enable-zend-multibyte \
--enable-fastcgi \
--enable-discard-path \
--enable-force-redirect \
--enable-cgi-force-redirect \
--enable-t1lib
$ make
$ make test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment