This shows you the differences between two versions of the page.
— |
linux:wordpress [2018/04/17 12:47] (current) percy created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Wordpress ====== | ||
+ | |||
+ | ===== Wordpress permission fix ===== | ||
+ | When I upgrade the wordpress, it shows the error | ||
+ | This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php | ||
+ | So I reset all the permission for the files: | ||
+ | cd /var/www/wordpress | ||
+ | sudo find . -type f -exec chmod 664 {} + | ||
+ | sudo find . -type d -exec chmod 775 {} + | ||
+ | And try the upgrade again, it works. | ||