Title: PHP Error &#8211; realpath(): open_basedir restriction in effect.
Last modified: August 21, 2016

---

# PHP Error – realpath(): open_basedir restriction in effect.

 *  [vtroia](https://wordpress.org/support/users/vtroia/)
 * (@vtroia)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/php-error-realpath-open_basedir-restriction-in-effect-1/)
 * I am seeing a HUGE number of errors in PHP due all of a sudden, on multiple websites:
 *  realpath(): open_basedir restriction in effect. File(/var/www) is not within
   the allowed path(s): (/var/www/vhosts/domain/:/tmp/)
 * Any idea what may be causing this? is anyone else having this issue?
 * [http://wordpress.org/plugins/w3-total-cache/](http://wordpress.org/plugins/w3-total-cache/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [vtroia](https://wordpress.org/support/users/vtroia/)
 * (@vtroia)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/php-error-realpath-open_basedir-restriction-in-effect-1/#post-4532460)
 * Anyone? Bueller? Bueller?

Viewing 1 replies (of 1 total)

The topic ‘PHP Error – realpath(): open_basedir restriction in effect.’ is closed
to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [vtroia](https://wordpress.org/support/users/vtroia/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/php-error-realpath-open_basedir-restriction-in-effect-1/#post-4532460)
 * Status: not resolved