Get the App
SLTechnology News&Howtos  ›  Servers  › 

The solution of setting ftp for wordpress upgrade

Shulou Source: shulou.com Published: 2022-06-01 02:35:08 09月22日 Update

This article shows you the solution to wordpress upgrade need to set ftp, the content is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.

Ignore ftp permissions

Whenever we want to upgrade plug-ins or wordpress on wordpress, a ftp login pops up, but how do we skip ftp login?

Solution:

# Open our word press configuration file wp-config.php

[18:35:08 root@zhang ~] # vim / apps/nginx/html/wordpress/wp-config.php

# then add these two 777 permissions below the last line of the file

Define ("FS_CHMOD_DIR", 0777); define ("FS_CHMOD_FILE", 0777)

# adding user rights to the word press directory, if we are using the nginx user to perform the word press service.

[18:37:31 root@zhang] # chmod-R 777 / apps/nginx/html/wordpress/ [18:37:50 root@zhang ~] # chown-R nginx:nginx / apps/nginx/html/wordpress/ the above is the solution to the need to set up ftp for wordpress upgrade. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Tags: Methods upgrades permissions content skills files users knowledge login concise concise one line two that is plug-ins articles time more directories articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Apple Xiaomi OPPO Reno Linux