From 864e4c910c1456e861f47727d5ee36d787fa56d3 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 10 Oct 2022 19:54:23 +0800 Subject: [PATCH] =?UTF-8?q?PHP=E6=B7=BB=E5=8A=A0=E4=BC=9A=E8=AF=9D?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/op_waf/t/index.py | 2 + plugins/op_waf/t/test.sh | 2 + plugins/php/index.html | 38 +++++++- plugins/php/index.py | 179 ++++++++++++++++++++++++++++++++++++++ plugins/php/js/php.js | 158 ++++++++++++++++++++++++++++++--- scripts/init.d/mw.tpl | 6 ++ 6 files changed, 370 insertions(+), 15 deletions(-) diff --git a/plugins/op_waf/t/index.py b/plugins/op_waf/t/index.py index 1a98ec00d..a57ae411a 100644 --- a/plugins/op_waf/t/index.py +++ b/plugins/op_waf/t/index.py @@ -145,6 +145,8 @@ def test_CC(): print("CC test end") + # 7FKnElusaEqY0qIc + def test_start(): test_Dir() diff --git a/plugins/op_waf/t/test.sh b/plugins/op_waf/t/test.sh index 191618015..c614871c0 100755 --- a/plugins/op_waf/t/test.sh +++ b/plugins/op_waf/t/test.sh @@ -2,6 +2,8 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH +# yum -y install httpd-tools +# ab -c 1000 -n 1000000 http://xx.xx.xx/ python3 index.py diff --git a/plugins/php/index.html b/plugins/php/index.html index 05dd0c4ac..b576f8b9f 100755 --- a/plugins/php/index.html +++ b/plugins/php/index.html @@ -1,6 +1,40 @@ + +
-
+

服务

自启动

@@ -13,6 +47,7 @@

禁用函数

性能调整

负载状况

+

会话管理

FPM日志

慢日志

PHPIFNO

@@ -24,6 +59,7 @@
+