|
|
@ -567,8 +567,8 @@ def getLibConf(version): |
|
|
|
return mw.returnJson(False, '指定PHP版本不存在!') |
|
|
|
return mw.returnJson(False, '指定PHP版本不存在!') |
|
|
|
|
|
|
|
|
|
|
|
# phpini = mw.readFile(fname) |
|
|
|
# phpini = mw.readFile(fname) |
|
|
|
content = mw.execShell('cat /etc/opt/remi/php' + |
|
|
|
content = mw.execShell( |
|
|
|
version + "/php.d/* | grep -v '^;' |tr -s '\n'") |
|
|
|
'cat /etc/php/' + version + '/fpm/conf.d/*' + " | grep -v '^;' |tr -s '\n'") |
|
|
|
content = content[0] |
|
|
|
content = content[0] |
|
|
|
|
|
|
|
|
|
|
|
libpath = getPluginDir() + '/versions/phplib.conf' |
|
|
|
libpath = getPluginDir() + '/versions/phplib.conf' |
|
|
|