pull/119/head
midoks 3 years ago
parent dfff0aabad
commit 5de4b94c3f
  1. 3
      plugins/php/versions/lib.sh
  2. 5
      scripts/install/opensuse.sh

@ -6,7 +6,6 @@ curPath=`pwd`
rootPath=$(dirname "$curPath")
rootPath=$(dirname "$rootPath")
rootPath=$(dirname "$rootPath")
rootPath=$(dirname "$rootPath")
serverPath=$(dirname "$rootPath")
version=$1
@ -14,6 +13,8 @@ action=$2
if [ -f /lib/systemd/system/php${version}.service ];then
systemctl ${action} php${version}
elif [[ -f /usr/lib/systemd/system/php${version}.service ]]; then
systemctl ${action} php${version}
else
$serverPath/php/init.d/php${version} ${action}
fi

@ -28,6 +28,11 @@ zypper install -y libevent-devel
zypper install -y libtirpc-devel
zypper install -y rpcgen
zypper install -y libmemcached libmemcached-devel
# zypper install -y protobuf
# zypper install -y zlib-devel
zypper install -y python3-devel
zypper install -y python-devel

Loading…
Cancel
Save