file_put_contents Failed to open stream: Permission denied
-
Hey! Got this error message today when troubleshooting an issue with my site:
Warning: file_put_contents([server_path]/wp-content/uploads/.htaccess): Failed to open stream: Permission denied in [server_path]/wp-content/plugins/wp-optimize/includes/class-wp-optimize-htaccess.php on line 136
The file permissions for the /wp-content/uploads/.htaccess file is set to 664.
Any idea why I’m getting this error message?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘file_put_contents Failed to open stream: Permission denied’ is closed to new replies.