diff --git a/plugins/php/all_test.sh b/plugins/php/all_test.sh index 04d5f4538..8549810fd 100644 --- a/plugins/php/all_test.sh +++ b/plugins/php/all_test.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 diff --git a/plugins/php/index.py b/plugins/php/index.py index b5fb5c676..010114d3e 100755 --- a/plugins/php/index.py +++ b/plugins/php/index.py @@ -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) diff --git a/plugins/php/versions/52/install.sh b/plugins/php/versions/52/install.sh index c130e43e9..30378f0c4 100755 --- a/plugins/php/versions/52/install.sh +++ b/plugins/php/versions/52/install.sh @@ -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 ------------------------------------# }