tar
zxvf php-5.4.
tar
.gz
.
/configure
--prefix=
/usr/local/php
\
-with-config-
file
-path=
/usr/local/php/etc
\
-with-mysql=
/usr/local/mysql
\
-with-mysqli=
/usr/local/mysql/bin/mysql_config
\
-with-mysql-sock=
/tmp/mysql
.sock \
-with-pdo-mysql=
/usr/local/mysql
\
-with-gd -with-zlib -with-iconv -
enable
-zip -
enable
-pdo \
-
enable
-xml -with-openssl -with-curl -
enable
-bcmath \
-
enable
-
ftp
-
enable
-xml -with-openssl -with-curl \
-
enable
-bcmath -
enable
-
ftp
-
enable
-mbstring -
enable
-fpm \
-with-fpm-user=nginx -with-fpm-group=nginx -
enable
-shmop \
-
enable
-sysvsem -
enable
-mbregex -
enable
-gd-native-ttf \
-
enable
-pcntl -
enable
-sockets -with-xmlrpc -
enable
-soap \
-without-pear -with-gettext -
enable
-session
make
&&
make
install