Php Wordfence | Microsoft Azure
我正在Azure服务器上使用Wordpress Multisite。为了维护站点的安全性,我安装了Wordfence security,但是,当我检查日志时,我看到错误:Php Wordfence | Microsoft Azure,php,wordpress,azure,azure-web-app-service,Php,Wordpress,Azure,Azure Web App Service,我正在Azure服务器上使用Wordpress Multisite。为了维护站点的安全性,我安装了Wordfence security,但是,当我检查日志时,我看到错误: PHP致命错误:未知:无法在第0行的未知位置打开所需的“D:\home\site\wwwroot/wordfence waf.PHP”(include_path=”;C:\PHP\pear) 查看解决方案时,我看到一些页面说我必须在.htacess中更改某些内容,但在azure中我没有.htacess-only web.con
PHP致命错误:未知:无法在第0行的未知位置打开所需的“D:\home\site\wwwroot/wordfence waf.PHP”(include_path=”;C:\PHP\pear)
查看解决方案时,我看到一些页面说我必须在.htacess中更改某些内容,但在azure中我没有.htacess-only web.config
如何修复此错误?
我应该修改哪个文件以及如何修改?.htaccess适用于Apache 对于Azure,您需要修改PHP ini文件以使用并使用wordfence-waf.PHP文件的完整路径