Title: open_basedir violation
Last modified: July 5, 2022

---

# open_basedir violation

 *  Resolved [webmasterfreya](https://wordpress.org/support/users/webmasterfreya/)
 * (@webmasterfreya)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/open_basedir-violation/)
 * Trying to make use of the webp feaature an endless stream of php warnings is 
   the result.
 * PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. 
   File(.webp) is not within the allowed path(s): (/var/www/vhosts/freya.nl/:/tmp/)
   in /var/www/vhosts/freya.nl/httpdocs/wp-content/plugins/wp-optimize/webp/class-
   wpo-webp-alter-html.php on line 211
 * For now using this feature stopped (back to plugin webp express)

Viewing 1 replies (of 1 total)

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/open_basedir-violation/#post-15800519)
 * [@webmasterfreya](https://wordpress.org/support/users/webmasterfreya/) Thanks
   for reporting the issue, I’ll share the same with our development team to get
   it fixed in next release.

Viewing 1 replies (of 1 total)

The topic ‘open_basedir violation’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

## Tags

 * [open_basedir](https://wordpress.org/support/topic-tag/open_basedir/)

 * 1 reply
 * 2 participants
 * Last reply from: [Harshad](https://wordpress.org/support/users/bornforphp/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/open_basedir-violation/#post-15800519)
 * Status: resolved