:D 获取中...

# download  https://github.com/moriyoshi/libmbfl
unzip libmbfl-master.zip
cd libmbfl-master
./buildconf
./configure --prefix=/home/user/backup/compiledsoft/lib
cp -r /home/user/backup/compiledsoft/lib /home/user/soft/nginx/mbfl

./configure --prefix=/home/user/soft/nginx/php/ --enable-fpm --enable-mbstring  
make && make install
cp php.ini-production /home/user/soft/nginx/php/lib/php.ini
cd /home/user/soft/nginx/php/
cp etc/php-fpm.conf.default etc/php-fpm.conf
cp etc/php-fpm.d/www.conf.default  etc/php-fpm.d/www.conf
mkdir -p /tmp/nginx/php/log
mkdir -p /tmp/nginx/php/run
# vi etc/php.ini,modify
short_open_tag = On
include_path = ".:/php/includes:/home/user/soft/nginx/php/lib/php"


## vi etc/php-fpm.conf,modify
pid = /tmp/nginx/php/run/php-fpm.pid
error_log = /tmp/nginx/php/log/php-fpm.log
include=etc/php-fpm.d/*.conf

## vi etc/php-fpm.d/www.conf,modify
listen = /tmp/nginx/php/run/php7-fpm.sock
access.log = /tmp/nginx/php/log/$pool.access.log
slowlog = /tmp/nginx/php/log/$pool.log.slow