Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Resolve Wordpress blog installation plug-in error

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Problem found:

Websites that use the Wordpress architecture will always prompt us for an interface that requires us to provide FTP information when they need to upgrade or install themes or plug-ins in the background. It says, "to perform the requested operation, WordPress needs access to your web server. Please enter your FTP login credentials to continue."

The error is as follows:

Solution: 1. Modify the configuration file

Cd / usr/share/nginx/html

Vim wp-config.php

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

two。 Restart the service

Systemctl restart nginx

3. There is a new problem with web page validation:

Solution: 1. Authorize the creation of directories

Chmod 777-R wp-content/

two。 Web page validation: successfully resolved

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report