install lsphp74-dev

This commit is contained in:
qtwrk
2020-02-01 17:08:35 +01:00
parent d843adde11
commit 089ed11719

View File

@@ -170,16 +170,26 @@ fi
install_utility
if [[ $SERVER_OS == "CentOS7" ]] ; then
yum list installed lsphp74-devel
if [[ $? != "0" ]] ; then
yum install -y lsphp74-devel
fi
fi
if [[ $SERVER_OS == "Ubuntu" ]] ; then
dpkg -l lsphp74-dev
if [[ $? != "0" ]] ; then
apt install -y lsphp74-dev
fi
fi
if [[ ! -f /usr/local/lsws/lsphp74/lib64/php/modules/zip.so ]] && [[ $SERVER_OS == "CentOS7" ]] ; then
yum list installed libzip-devel
if [[ $? == "0" ]] ; then
yum remove -y libzip-devel
fi
yum list installed lsphp74-devel
if [[ $? != "0" ]] ; then
yum install -y lsphp74-devel
fi
yum install -y http://packages.psychotic.ninja/7/plus/x86_64/RPMS/libzip-0.11.2-6.el7.psychotic.x86_64.rpm
yum install -y http://packages.psychotic.ninja/7/plus/x86_64/RPMS/libzip-devel-0.11.2-6.el7.psychotic.x86_64.rpm
/usr/local/lsws/lsphp74/bin/pecl install zip