From ab939aa359f9818fa9c0eee81c4c894102257cff Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sat, 20 Jul 2024 14:16:58 +0800 Subject: [PATCH] Update index.py --- plugins/zabbix/index.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/zabbix/index.py b/plugins/zabbix/index.py index 019d24840..ec7f8e79e 100755 --- a/plugins/zabbix/index.py +++ b/plugins/zabbix/index.py @@ -193,6 +193,8 @@ def getInstalledPhpConfDir(): if os.path.exists(php_install_dir): if pt == 'php-apt': return pt + ver[0:1]+'.'+ver[1:2] + if pt == 'php': + return pt + '-' + ver return pt + ver return 'php-80'