STEP 1:
依次编译安装依赖包 openssl pcre zlib三个包
然后安装curl 如果要开启ssl模式的话 需要在编译时加上 --with-openssl=/usr/local/openssl
STEP2:
安装php
STEP3:
安装nginx
依次编译安装依赖包 openssl pcre zlib三个包
然后安装curl 如果要开启ssl模式的话 需要在编译时加上 --with-openssl=/usr/local/openssl
STEP2:
安装php
./configure --prefix=/usr/local/php --enable-fpm
--with-curl=/usr/local/curl
--with-pcre-dir=/usr/local/pcre
--with-zlib-dir=/usr/local/zlib
--with-openssl-dir=/usr/local/openssl
--with-mysqli --enable-mbstring
STEP3:
安装nginx
./configure --prefix=/usr/local/nginx
--with-pcre=/usr/local/src/pcre-8.39