This commit is contained in:
midoks
2019-11-30 16:55:45 +08:00
parent 1617bd521a
commit d2160f388d
85 changed files with 217 additions and 197 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ Install_lib()
{
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep "${LIBNAME}.so"`
if [ "${isInstall}" != "" ];then
echo "php$version 已安装${LIBNAME},请选择其它版本!"
echo "php-$version 已安装${LIBNAME},请选择其它版本!"
return
fi
+1 -1
View File
@@ -22,7 +22,7 @@ Install_lib()
{
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep "${LIBNAME}.so"`
if [ "${isInstall}" != "" ];then
echo "php$version 已安装${LIBNAME},请选择其它版本!"
echo "php-$version 已安装${LIBNAME},请选择其它版本!"
return
fi
+1 -1
View File
@@ -22,7 +22,7 @@ Install_lib()
{
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep "${LIBNAME}.so"`
if [ "${isInstall}" != "" ];then
echo "php$version 已安装${LIBNAME},请选择其它版本!"
echo "php-$version 已安装${LIBNAME},请选择其它版本!"
return
fi
+1 -1
View File
@@ -22,7 +22,7 @@ Install_lib()
{
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep "${LIBNAME}.so"`
if [ "${isInstall}" != "" ];then
echo "php$version 已安装${LIBNAME},请选择其它版本!"
echo "php-$version 已安装${LIBNAME},请选择其它版本!"
return
fi
+1 -1
View File
@@ -22,7 +22,7 @@ Install_lib()
{
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep "${LIBNAME}.so"`
if [ "${isInstall}" != "" ];then
echo "php$version 已安装${LIBNAME},请选择其它版本!"
echo "php-$version 已安装${LIBNAME},请选择其它版本!"
return
fi
+6
View File
@@ -20,6 +20,12 @@ extFile=$serverPath/php/${version}/lib/php/extensions/no-debug-non-zts-20121212/
Install_lib()
{
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep "${LIBNAME}.so"`
if [ "${isInstall}" != "" ];then
echo "php-$version 已安装${LIBNAME},请选择其它版本!"
return
fi
echo "" >> $serverPath/php/$version/etc/php.ini
echo "[opcache]" >> $serverPath/php/$version/etc/php.ini
echo "zend_extension=${LIBNAME}.so" >> $serverPath/php/$version/etc/php.ini
+1 -1
View File
@@ -23,7 +23,7 @@ Install_lib()
{
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep "${LIBNAME}.so"`
if [ "${isInstall}" != "" ];then
echo "php$version 已安装${LIBNAME},请选择其它版本!"
echo "php-$version 已安装${LIBNAME},请选择其它版本!"
return
fi
+3 -2
View File
@@ -12,6 +12,7 @@ serverPath=$(dirname "$rootPath")
sourcePath=${serverPath}/source/php
LIBNAME=SeasLog
_LIBNAME=$(echo $LIBNAME | tr '[A-Z]' '[a-z]')
LIBV=2.0.2
sysName=`uname`
actionType=$1
@@ -21,9 +22,9 @@ extDir=$serverPath/php/${version}/lib/php/extensions/no-debug-non-zts-20121212/
Install_lib()
{
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep "${LIBNAME}.so"`
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep "${_LIBNAME}.so"`
if [ "${isInstall}" != "" ];then
echo "php$version 已安装${LIBNAME},请选择其它版本!"
echo "php-$version 已安装${LIBNAME},请选择其它版本!"
return
fi
+1 -1
View File
@@ -23,7 +23,7 @@ Install_lib()
{
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep "${LIBNAME}.so"`
if [ "${isInstall}" != "" ];then
echo "php$version 已安装${LIBNAME},请选择其它版本!"
echo "php-$version 已安装${LIBNAME},请选择其它版本!"
return
fi
+1 -1
View File
@@ -22,7 +22,7 @@ extFile=$serverPath/php/${version}/lib/php/extensions/no-debug-non-zts-20121212/
Install_lib()
{
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep '${LIBNAME}.so'`
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep "${LIBNAME}.so"`
if [ "${isInstall}" != "" ];then
echo "php-$version 已安装${LIBNAME},请选择其它版本!"
return
+1 -1
View File
@@ -22,7 +22,7 @@ Install_lib()
{
isInstall=`cat $serverPath/php/$version/etc/php.ini|grep "${LIBNAME}.so"`
if [ "${isInstall}" != "" ];then
echo "php$version 已安装${LIBNAME},请选择其它版本!"
echo "php-$version 已安装${LIBNAME},请选择其它版本!"
return
fi
+1 -1
View File
@@ -13,7 +13,7 @@ sourcePath=${serverPath}/source/php
LIBNAME=yaf
LIBV='2.3.5'
LIBV=2.3.5
actionType=$1
version=$2