"Purge" in admin-bar does not work when PHP user != HTTP user
-
I’ve noticed that the menu item “Purge” from the admin-bar does not work if the PHP process runs under a different user than the HTTP server. Change permissions on the cache path does not prevent this error from recurring because newly generated cache directories get set to 700 again by nginx.
Warning: opendir(/var/run/nginx-cache/4): failed to open dir: Permission denied in /<path>/wp-content/plugins/nginx-helper/purger.php on line 686
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘"Purge" in admin-bar does not work when PHP user != HTTP user’ is closed to new replies.