Title: Error PHP Warning: rename
Last modified: January 25, 2020

---

# Error PHP Warning: rename

 *  [luckid28](https://wordpress.org/support/users/luckid28/)
 * (@luckid28)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/error-php-warning-rename/)
 * Hi to all,
    I have a big problem on my sites … keep giving this error continuously:`[
   php7:warn] [pid 30766] [client 84.221.84.155:52642] PHP Warning: rename(/***/
   w***/***/diamondfx.it/wp-content/cache/wpscGNSWwC.php,/***/***/****/diamondfx.
   it/wp-content/wp-cache-config.php): Permission denied in /***/***/***/diamondfx.
   it/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1263, referer:
   https://www.diamondfx.it/wp-admin/edit.php?post_type=shop_order`
 * How can I solve the problem?
    Thanks in advance for your reply

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/error-php-warning-rename/#post-12368635)
 * It looks like PHP doesn’t have write access to your wp-content directory so it
   can’t update the plugin configuration. Google or your hosts support documentation
   will help you figure out how to change those permissions.
 *  Thread Starter [luckid28](https://wordpress.org/support/users/luckid28/)
 * (@luckid28)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/error-php-warning-rename/#post-12378223)
 * so just give permision to that folder (cache) and it all works out? Problems 
   with FTP or Domain Security?
 * Thank you for your reply.
    -  This reply was modified 6 years, 4 months ago by [luckid28](https://wordpress.org/support/users/luckid28/).
 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/error-php-warning-rename/#post-12381218)
 * It’s the permission on the wp-content folder. You can do that through your ftp
   client I suppose. If your user is the same as the webserver then 755 should be
   enough, otherwise unfortunately it has to be world-writable using 777.
 *  Thread Starter [luckid28](https://wordpress.org/support/users/luckid28/)
 * (@luckid28)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/error-php-warning-rename/#post-12388842)
 * ok thanks and see you soon!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error PHP Warning: rename’ is closed to new replies.

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

 * 4 replies
 * 2 participants
 * Last reply from: [luckid28](https://wordpress.org/support/users/luckid28/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/error-php-warning-rename/#post-12388842)
 * Status: not resolved