Home | Mirror | Search |
http://hk.php.net/releases/
wget http://php-fpm.org/downloads/php-5.2.17-fpm-0.5.14.diff.gz wget http://museum.php.net/php5/php-5.2.17.tar.gz tar zxvf php-5.2.17.tar.gz gzip -cd php-5.2.17-fpm-0.5.14.diff.gz | patch -d php-5.2.17 -p1 cd php-5.2.17 ./configure --prefix=/srv/php-5.2.17 \ --with-config-file-path=/srv/php-5.2.17/etc \ --with-config-file-scan-dir=/srv/php-5.2.17/etc/conf.d \ --with-libdir=lib64 \ --enable-fastcgi \ --enable-fpm \ --with-pear \ --with-curl \ --with-gd \ --with-jpeg-dir \ --with-png-dir \ --with-freetype-dir \ --with-zlib-dir \ --with-iconv \ --with-mcrypt \ --with-mysql \ --with-pdo-mysql \ --with-mysql-sock=/var/lib/mysql/mysql.sock \ --with-openssl=shared \ --with-mhash=shared \ --with-sqlite=shared \ --with-pdo-sqlite=shared \ --with-xsl=shared \ --with-pear \ --enable-pcntl \ --enable-sockets \ --enable-soap \ --enable-mbstring \ --enable-magic-quotes \ --enable-inline-optimization \ --enable-gd-native-ttf \ --enable-zip \ --enable-xml \ --enable-ftp \ --enable-bcmath \ --enable-calendar \ --enable-sqlite-utf8 \ --enable-shmop \ --enable-dba \ --enable-wddx \ --enable-sysvsem \ --enable-sysvshm \ --enable-sysvmsg \ --disable-debug make && make install
mkdir -p /srv/php-5.2.17/etc/conf.d/ cp php.ini-recommended /srv/php-5.2.17/etc/php.ini cp /srv/php-5.2.17/etc/php-fpm.conf /srv/php-5.2.17/etc/php-fpm.conf.original