pull/130/head
midoks 3 years ago
parent 22e3752aa9
commit 5677fcda1b
  1. 6
      plugins/php/versions/52/install.sh
  2. 5
      plugins/php/versions/53/install.sh
  3. 5
      plugins/php/versions/54/install.sh
  4. 5
      plugins/php/versions/55/install.sh
  5. 5
      plugins/php/versions/56/install.sh
  6. 5
      plugins/php/versions/70/install.sh
  7. 4
      plugins/php/versions/71/install.sh
  8. 4
      plugins/php/versions/72/install.sh
  9. 5
      plugins/php/versions/73/install.sh
  10. 7
      plugins/php/versions/74/install.sh
  11. 5
      plugins/php/versions/80/install.sh
  12. 4
      plugins/php/versions/82/install.sh
  13. 3
      scripts/install/centos.sh

@ -120,6 +120,12 @@ else
fi
IS_64BIT=`getconf LONG_BIT`
if [ "$IS_64BIT" == "64" ];then
OPTIONS="${OPTIONS} --with-libdir=lib64"
fi
if [ ! -d $serverPath/php/${PHP_VER} ];then
export MYSQL_LIB_DIR=/usr/lib64/mysql

@ -51,6 +51,11 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
IS_64BIT=`getconf LONG_BIT`
if [ "$IS_64BIT" == "64" ];then
OPTIONS="${OPTIONS} --with-libdir=lib64"
fi
if [ ! -d $serverPath/php/53/bin ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \

@ -43,6 +43,11 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
IS_64BIT=`getconf LONG_BIT`
if [ "$IS_64BIT" == "64" ];then
OPTIONS="${OPTIONS} --with-libdir=lib64"
fi
if [ ! -d $serverPath/php/${PHP_VER} ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \

@ -42,6 +42,11 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
IS_64BIT=`getconf LONG_BIT`
if [ "$IS_64BIT" == "64" ];then
OPTIONS="${OPTIONS} --with-libdir=lib64"
fi
if [ ! -d $serverPath/php/55 ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \
--prefix=$serverPath/php/55 \

@ -42,6 +42,11 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
IS_64BIT=`getconf LONG_BIT`
if [ "$IS_64BIT" == "64" ];then
OPTIONS="${OPTIONS} --with-libdir=lib64"
fi
if [ ! -d $serverPath/php/56 ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \

@ -42,6 +42,11 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
IS_64BIT=`getconf LONG_BIT`
if [ "$IS_64BIT" == "64" ];then
OPTIONS="${OPTIONS} --with-libdir=lib64"
fi
if [ ! -d $serverPath/php/70 ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \
--prefix=$serverPath/php/70 \

@ -41,6 +41,10 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
IS_64BIT=`getconf LONG_BIT`
if [ "$IS_64BIT" == "64" ];then
OPTIONS="${OPTIONS} --with-libdir=lib64"
fi
if [ ! -d $serverPath/php/71 ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \

@ -42,6 +42,10 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
IS_64BIT=`getconf LONG_BIT`
if [ "$IS_64BIT" == "64" ];then
OPTIONS="${OPTIONS} --with-libdir=lib64"
fi
if [ ! -d $serverPath/php/72 ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \

@ -47,6 +47,11 @@ else
OPTIONS="${OPTIONS} --with-libzip=${serverPath}/lib/libzip"
fi
IS_64BIT=`getconf LONG_BIT`
if [ "$IS_64BIT" == "64" ];then
OPTIONS="${OPTIONS} --with-libdir=lib64"
fi
if [ ! -d $serverPath/php/73 ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \

@ -35,6 +35,8 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then
mv $sourcePath/php/php-${version} $sourcePath/php/php${PHP_VER}
fi
cd $sourcePath/php/php${PHP_VER}
OPTIONS=''
@ -52,7 +54,10 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
IS_64BIT=`getconf LONG_BIT`
if [ "$IS_64BIT" == "64" ];then
OPTIONS="${OPTIONS} --with-libdir=lib64"
fi
echo "$sourcePath/php/php${PHP_VER}"

@ -52,6 +52,11 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
IS_64BIT=`getconf LONG_BIT`
if [ "$IS_64BIT" == "64" ];then
OPTIONS="${OPTIONS} --with-libdir=lib64"
fi
echo "$sourcePath/php/php${PHP_VER}"
if [ ! -d $serverPath/php/${PHP_VER} ];then

@ -50,6 +50,10 @@ else
OPTIONS="${OPTIONS} --with-libzip=${serverPath}/lib/libzip"
fi
IS_64BIT=`getconf LONG_BIT`
if [ "$IS_64BIT" == "64" ];then
OPTIONS="${OPTIONS} --with-libdir=lib64"
fi
echo "$sourcePath/php/php${PHP_VER}"

@ -115,7 +115,7 @@ yum install -y ncurses-devel
yum install -y vixie-cron
for yumPack in make cmake gcc gcc-c++ flex bison file libtool libtool-libs autoconf kernel-devel patch wget libjpeg libjpeg-devel libpng libpng-devel gd gd-devel zlib zlib-devel glib2 glib2-devel tar bzip2 bzip2-devel libevent libevent-devel ncurses ncurses-devel curl curl-devel libcurl libcurl-devel e2fsprogs e2fsprogs-devel libidn libidn-devel vim-minimal gettext gettext-devel ncurses-devel gmp-devel libcap diffutils ca-certificates net-tools psmisc libXpm-devel git-core c-ares-devel libicu-devel libxslt libxslt-devel zip unzip glibc.i686 libstdc++.so.6 cairo-devel ncurses-devel libaio-devel perl perl-devel perl-Data-Dumper crontabs expat-devel readline-devel;
for yumPack in make cmake gcc gcc-c++ flex bison file libtool libtool-libs autoconf kernel-devel patch wget libjpeg libjpeg-devel libpng libpng-devel gd gd-devel zlib zlib-devel glib2 glib2-devel tar bzip2 bzip2-devel libevent libevent-devel ncurses ncurses-devel curl curl-devel libcurl libcurl-devel e2fsprogs e2fsprogs-devel libidn libidn-devel vim-minimal gettext gettext-devel ncurses-devel gmp-devel libcap diffutils ca-certificates net-tools psmisc libXpm-devel git-core c-ares-devel libicu-devel libxslt libxslt-devel zip unzip glibc.i686 libstdc++.so.6 cairo-devel ncurses-devel libaio-devel perl perl-devel perl-Data-Dumper expat-devel readline-devel;
do yum -y install $yumPack;done
@ -125,6 +125,7 @@ if [ "$VERSION_ID" -eq "9" ];then
dnf --enablerepo=crb install -y libmemcached-devel
dnf --enablerepo=crb install -y libtool libtool-libs
dnf --enablerepo=crb install -y gnutls-devel
dnf --enablerepo=crb install -y mysql-devel
# yum remove -y chardet
fi

Loading…
Cancel
Save