|
|
@ -130,10 +130,10 @@ def makeOpenrestyConf(): |
|
|
|
dfile = sdir + '/openresty/nginx/conf/enable-php-' + x + '.conf' |
|
|
|
dfile = sdir + '/openresty/nginx/conf/enable-php-' + x + '.conf' |
|
|
|
if not os.path.exists(dfile): |
|
|
|
if not os.path.exists(dfile): |
|
|
|
if x == '00': |
|
|
|
if x == '00': |
|
|
|
public.writeFile(desc_file, '') |
|
|
|
public.writeFile(dfile, '') |
|
|
|
else: |
|
|
|
else: |
|
|
|
w_content = contentReplace(tpl_content, x) |
|
|
|
w_content = contentReplace(tpl_content, x) |
|
|
|
public.writeFile(desc_file, w_content) |
|
|
|
public.writeFile(dfile, w_content) |
|
|
|
|
|
|
|
|
|
|
|
#php-fpm status |
|
|
|
#php-fpm status |
|
|
|
for version in phpversions: |
|
|
|
for version in phpversions: |
|
|
|