点击php安装扩展是如下错误:
REQUEST_DATE: 2021-11-07 10:55:43
PAN_VERSION: 7.7.0
OS_VERSION: Ubuntu 18.04.4 LTS x86_64(Py3.7.8)
REMOTE_ADDR: 120.240.48.81
REQUEST_URI: POST /ajax?action=GetPHPConfig
REQUEST_FORM: {'version': '72'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36 Edg/95.0.1020.40
raceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 1640, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1588, in run
result = getattr(toObject,get.action)(get)
File "class/ajax.py", line 575, in GetPHPConfig
tmp = re.search(rep,phpini).groups()
AttributeError: 'NoneType' object has no attribute 'groups' |