pull/642/head
Mr Chen 5 months ago
parent b84301debc
commit 946e886799
  1. 2
      plugins/php/lib/icu.sh
  2. 9
      plugins/php/lib/openssl_10.sh
  3. 9
      plugins/php/lib/openssl_11.sh
  4. 10
      plugins/php/lib/openssl_30.sh

@ -44,7 +44,7 @@ if [ ! -d ${SERVER_ROOT}/icu ];then
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/www/server/lib/icu/lib # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/www/server/lib/icu/lib
if [ -d /etc/ld.so.conf.d ];then if [ -d /etc/ld.so.conf.d ];then
echo "/www/server/lib/icu/lib" > /etc/ld.so.conf.d/mw-icu.conf echo "/www/server/lib/icu/lib" > /etc/ld.so.conf.d/mw-icu.conf
elif [[ -f /etc/ld.so.conf ]]; then elif [ -f /etc/ld.so.conf ]; then
echo "/www/server/lib/icu/lib" >> /etc/ld.so.conf echo "/www/server/lib/icu/lib" >> /etc/ld.so.conf
fi fi

@ -44,6 +44,15 @@ if [ ! -d ${SERVER_ROOT}/openssl10 ];then
./config --openssldir=${SERVER_ROOT}/openssl10 zlib-dynamic shared ./config --openssldir=${SERVER_ROOT}/openssl10 zlib-dynamic shared
make && make install make && make install
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/www/server/lib/openssl10/lib
if [ -d /etc/ld.so.conf.d ];then
echo "/www/server/lib/openssl10/lib" > /etc/ld.so.conf.d/openssl10.conf
elif [ -f /etc/ld.so.conf ]; then
echo "/www/server/lib/openssl10/lib" >> /etc/ld.so.conf
fi
ldconfig
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/openssl-${opensslVersion} cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/openssl-${opensslVersion}
fi fi

@ -24,6 +24,15 @@ if [ ! -d ${SERVER_ROOT}/openssl11 ];then
./config --prefix=${SERVER_ROOT}/openssl11 zlib-dynamic shared ./config --prefix=${SERVER_ROOT}/openssl11 zlib-dynamic shared
make && make install make && make install
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/www/server/lib/openssl11/lib
if [ -d /etc/ld.so.conf.d ];then
echo "/www/server/lib/openssl11/lib" > /etc/ld.so.conf.d/openssl11.conf
elif [ -f /etc/ld.so.conf ]; then
echo "/www/server/lib/openssl11/lib" >> /etc/ld.so.conf
fi
ldconfig
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/openssl-${opensslVersion} cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/openssl-${opensslVersion}
fi fi

@ -25,6 +25,16 @@ if [ ! -d ${SERVER_ROOT}/openssl30 ];then
./config --prefix=${SERVER_ROOT}/openssl30 zlib-dynamic shared ./config --prefix=${SERVER_ROOT}/openssl30 zlib-dynamic shared
make && make install make && make install
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/www/server/lib/openssl30/lib
if [ -d /etc/ld.so.conf.d ];then
echo "/www/server/lib/openssl30/lib" > /etc/ld.so.conf.d/openssl30.conf
elif [ -f /etc/ld.so.conf ]; then
echo "/www/server/lib/openssl30/lib" >> /etc/ld.so.conf
fi
ldconfig
cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/openssl-${opensslVersion} cd $SOURCE_ROOT && rm -rf $SOURCE_ROOT/openssl-${opensslVersion}
fi fi

Loading…
Cancel
Save