Title: PHP Warning
Last modified: September 23, 2021

---

# PHP Warning

 *  Resolved [CamZL1](https://wordpress.org/support/users/danishhaidri/)
 * (@danishhaidri)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-warning-312/)
 * Hi,
 * Any idea how we can fix this error?
 * 2021/09/23 03:17:58 [error] 90918#90918: *32 FastCGI sent in stderr: “PHP message:
   PHP Warning: Unknown: open_basedir restriction in effect. File(/home/webapps/
   jfn/wordfence-waf.php) is not within the allowed path(s): (/home/runcloud/webapps/
   jfn:/var/lib/php/session:/tmp:/home/jfn) in Unknown on line 0PHP message: PHP
   Warning: Unknown: failed to open stream: Operation not permitted in Unknown on
   line 0PHP message: PHP Fatal error: Unknown: Failed opening required ‘/home/danjfn/
   webapps/jfn/wordfence-waf.php’ (include_path=’.:’) in Unknown on line 0” while
   reading response header from upstream, client: 103.160.233.148, server: jfn.a6ddcrmvbt-
   wg96glq713oy.p.runcloud.link, request: “GET / HTTP/1.1”, upstream: “fastcgi://
   unix:/var/run/jfn_paris.sock:”, host: “jfn.a6ddcrmvbt-wg96glq713oy.p.runcloud.
   link”

Viewing 1 replies (of 1 total)

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-warning-312/#post-14900865)
 * Hi [@danishhaidri](https://wordpress.org/support/users/danishhaidri/), thanks
   for getting in touch.
 * As these are warnings, they’re not causing operations on your site to stop altogether
   but are almost certainly down to settings on your hosting environment. I have
   seen this before with site migrations too, so is this appearing on a site recently
   moved or has it always been hosted in this location?
 * You could send us a diagnostics report so that we can check the paths and advise
   you further to **wftest @ wordfence . com**. You can find the link to do so at
   the top of the **Wordfence > Tools > Diagnostics** page. Then click on **“Send
   Report by Email”**. Please add your forum username where indicated and _respond
   here after you have sent it._
 * **NOTE:** It should look as follows – Screenshot of [Tools > Diagnostic > Send by Email](https://www.wordfence.com/wp-content/uploads/2021/09/diagnosticsendbyemail.png)
 * Thanks,
 * Peter.

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 1 reply
 * 2 participants
 * Last reply from: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/php-warning-312/#post-14900865)
 * Status: resolved