pull/118/head
midoks 3 years ago
parent c347e1b909
commit 0856e4e533
  1. 2
      plugins/php/all_test.sh
  2. 1
      plugins/php/index.py
  3. 3
      plugins/php/versions/52/install.sh

@ -4,7 +4,7 @@ DIR=$(cd "$(dirname "$0")"; pwd)
# cd /www/server/mdserver-web/scripts/quick && bash app.sh
# cd /www/server/mdserver-web/scripts/quick && bash debug.sh
# cd /www/server/mdserver-web/plugins/php && bash all_test.sh
# cd /www/server/mdserver-web/plugins/php/versions/52/ && bash gd.sh install 52

@ -185,7 +185,6 @@ def phpFpmReplace(version):
mw.writeFile(desc_php_fpm, content)
else:
if version == '52':
os.makedirs(getServerDir() + '/php/' + version + '/var/log')
tpl_php_fpm = tpl_php_fpm = getPluginDir() + '/conf/php-fpm-52.conf'
content = mw.readFile(tpl_php_fpm)
mw.writeFile(desc_php_fpm, content)

@ -161,6 +161,9 @@ if [ ! -d $serverPath/php/${PHP_VER}/lib/php/extensions/no-debug-non-zts-2006061
mkdir -p $serverPath/php/${PHP_VER}/lib/php/extensions/no-debug-non-zts-20060613
fi
mkdir -p $serverPath/php/${PHP_VER}/var/log
#------------------------ install end ------------------------------------#
}

Loading…
Cancel
Save