25 days ago
Just a quick unified reply to thank you all for providing help!!!!
I followed the AliCloud tutorial to build lnmp and wordpress manually, and went back to re-tinker with it, and found a solution for me, so I'll record it!
1. modify /etc/nginx/nginx.conf after the user, such as I changed the user and group to user www www. Related directories should also modify the genus and group, such as /var/lib/nginx/tmp/fastcgi, /www/wwwroot/wordpress (my site root directory)
2. Modify /www/wwwroot/wordpress/wp-config.php configuration file by vscode, mobaxterm, etc. At the bottom add
define("FS_METHOD", "direct");
define("FS_CHMOD_DIR", 0777);
define("FS_CHMOD_FILE", 0777);
!
25 days ago
25 days ago
25 days ago
25 days ago