Subscribe to RSS Feed ログイン

オーガニック・ウェルス

Wednesday
2018年2月21日

PHP5.5 alpha2をCentOSでビルド

バージョンの確認


# cat /etc/redhat-release && arch
CentOS release 6.3 (Final)
x86_64

# yum install -y libxml2-devel libpng-devel libmcrypt libmcrypt-devel libtool-ltdl libtool-ltdl-devel httpd-devel libjpeg-devel openssl-devel pcre-devel bzip2-devel libXpm-devel freetype-devel gmp-devel
# wget http://downloads.php.net/dsp/php-5.5.0alpha2.tar.bz2
# tar xvf php-5.5.0alpha2.tar.bz2
# cd php-5.5.0alpha2
# ./configure \
–build=x86_64-redhat-linux-gnu \
–host=x86_64-redhat-linux-gnu \
–target=x86_64-redhat-linux-gnu \
–program-prefix= \
–prefix=/usr \
–exec-prefix=/usr \
–bindir=/usr/bin \
–sbindir=/usr/sbin \
–sysconfdir=/etc \
–datadir=/usr/share \
–includedir=/usr/include \
–libdir=/usr/lib64 \
–libexecdir=/usr/libexec \
–localstatedir=/var \
–sharedstatedir=/var/lib \
–mandir=/usr/share/man \
–infodir=/usr/share/info \
–cache-file=../config.cache \
–with-libdir=lib64 \
–with-config-file-path=/etc \
–with-config-file-scan-dir=/etc/php.d \
–disable-debug \
–with-pic \
–disable-rpath \
–with-pear \
–with-bz2 \
–with-freetype-dir=/usr \
–with-png-dir=/usr \
–with-xpm-dir=/usr \
–enable-gd-native-ttf \
–without-gdbm \
–with-gettext \
–with-gmp \
–with-iconv \
–with-jpeg-dir=/usr \
–with-openssl \
–with-pcre-regex=/usr \
–with-zlib \
–with-layout=GNU \
–with-kerberos \
–enable-exif \
–enable-ftp \
–enable-sockets \
–enable-sysvsem \
–enable-sysvshm \
–enable-sysvmsg \
–enable-shmop \
–enable-calendar \
–with-libxml-dir=/usr \
–enable-xml \
–enable-pdo \
–enable-json \
–enable-mbstring \
–enable-mbregex \
–with-apxs2=/usr/sbin/apxs \
–with-mysql \
–with-gd \
–with-pdo-mysql \
–without-unixODBC \
–with-sqlite3 \
–without-pspell \
–without-curl \
–disable-posix \
–disable-sysvmsg \
–disable-sysvshm \
–disable-sysvsem \
–disable-wddx \
–disable-phar \
–disable-fileinfo \
–disable-xmlreader \
–disable-xmlwriter \
–disable-dom \
–disable-dba
# make
# make test
# make install

PHP5.5の新機能であるジェネレーターなどを試してみたいです。


コメントのRSSを取得する · トラックバック

コメントする