php56-fpm 2022-10-03 约 173 字 预计阅读 1 分钟 次阅读 文章目录 php56-fpm 【注意】最后更新于 October 25, 2022,文中内容可能已过时,请谨慎使用。 php56-fpm 基于 alpine 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 docker pull alpine:3.13 \ # run docker run --name alpine -it alpine:3.13 \ # 改源 cp /etc/apk/repositories /etc/apk/repositories.bak \ sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories apk add autoconf make gcc g++ libxml2-dev pkgconf tzdata libaio libnsl libnsl-dev \ libc6-compat libmcrypt libxpm-dev libjpeg-turbo-dev libpng libvpx-dev \ freetype-dev net-tools # 改时区 cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime echo "Asia/Shanghai" > /etc/timezone ./configure --prefix=/usr/local/php56 \ --with-config-file-path=/usr/local/php56/etc \ --enable-fpm \ --with-mcrypt \ --enable-calendar \ --enable-ftp \ --enable-mbstring \ --enable-opcache \ --enable-pcntl \ --with-pdo-mysql \ --enable-shmop \ --enable-soap \ --enable-sockets \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm \ --enable-zip \ --with-gd \ --without-pear export LD_LIBRARY_PATH=/usr/local/instantclient_11_2 export NLS_LANG="AMERICAN_AMERICA.AL32UTF8" #oci8 ln -s /usr/local/instantclient_11_2/libclntsh.so.11.1 \ /usr/local/instantclient_11_2/libclntsh.so ln -s /usr/local/instantclient_11_2/libocci.so.11.1 \ /usr/local/instantclient_11_2/libocci.so ln -s /usr/lib/libnsl.so.2 /usr/lib/libnsl.so.1 # pdo_oci ./configure --with-pdo-oci=instantclient,/usr/local/instantclient_11_2,11.2 文章作者 Caoayu 上次更新 2022-10-25 许可协议 CC BY-NC-ND 4.0 赞赏支持 微信打赏 支付宝打赏