Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/282.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Wordfence | Microsoft Azure_Php_Wordpress_Azure_Azure Web App Service - Fatal编程技术网

Php Wordfence | Microsoft Azure

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

我正在Azure服务器上使用Wordpress Multisite。为了维护站点的安全性,我安装了Wordfence security,但是,当我检查日志时,我看到错误:

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文件的完整路径