我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何检查是否使用PHP激活mod_security(没有卷曲)

Is there a way to know if mod_security is activated on an apache server using PHP? (without curl)

One thing you could try is using apache_get_modules to discover what modules Apache currently has enabled. Of course this approach will only work on an Apache server and not on other popular HTTP servers.

var_dump (in_array ('mod_security', apache_get_modules ()));

近期文章

  • 烽火hg7143d电源拔掉重插后无法开机问题!
  • springboot启动失败
  • IsoformSwitchAnalyzeR 可变剪切分析$importRdata()之后生成SwitchList中没有ntsequence
  • Java语言中计算赋值出了问题
  • R语言for循环正态性检验
  • pyinstaller打包后exe涉及引用到外部文件出现问题
  • 前端开发和web前端开发有什么区别呢?
  • 输出文件I/O错误,无法正常创建hex文件
  • 输出文件I/O错误,无法正常创建hex文件
  • Twilio客户端DTMF无法正常工作
  • 这个问题要怎么解决?
  • PSCAD怎么汉化呢?
  • 日历,js判断号码生肖
  • 这里单片机的晶振频率11.0952MHz为什么可以这样写
  • python解析腾讯疫情数据
  • ros gazebo 模型显示透明
  • labview串口数据的相关读取
  • 我按着书的命令第一次试g++怎么不行
  • 关于C++编译器处理过度封装的问题
  • 迁移后测试数据(HTML - > PHP - > SQL)

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华