Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

fastcgi_cache_purge with open_basedir issue

$
0
0

Replies: 0

Hi!

I setup the plugin to work with the fastcgi_cache_purge module and it is not purging the cache. I’ve found that this is because the open_basedir setting enabled:

is_dir(): open_basedir restriction in effect. File(/var/run/nginx-cache) is not within the allowed path(s): (...) /wp-content/plugins/nginx-helper/admin/class-purger.php on line 1228

But why is trying to perform filesystem actions when it should just make a GET request?

I know I can add the nginx-cache folder to the open_basedir paths, but it will be nice to avoid need doing it when you’re using the module method.

Thanks so much for this plugin!

PS: I’ve tried the URL mysite/purge/ and works good.


Viewing all articles
Browse latest Browse all 59525

Trending Articles