1, to perform the requested operation, WordPress needs to access your Web server permissions. Please enter your FTP login xxxx perfect solution
Because the permissions of the newly uploaded plugins in WordPress are WWW users, not root or other users, and then you need to unzip the plugin compression package to install, but do not have its use rights, so there is "WordPress needs to access your Web server Permissions" issue.
Workaround:
If you do not compile the LNMP environment, then the root directory of the site will be/home/wwwroot/, then the WordPress extracted to this directory, the execution
chown -R www/home/wwwroot/chmod775 /home/wwwroot/
2, WordPress only display a default theme
After you install WordPress, you are ready to change a theme for your blog, but only one theme is displayed in the background and no other topics are displayed.
Reason: PHP.ini prohibits the Scandir function.
Since I am installing the LNMP package, which disables some of the dangerous functions: "PassThru, exec, System, chroot, Scandir, Chgrp, Chown, Shell_exec, Proc_open, proc_get_ Status, Ini_alter, Ini_alter, Ini_restore, DL, Pfsockopen ", and the Scandir function is also in this column, so the solution to this problem can only be to remove the scandir from the disabled function.
Vim/usr/local/php/etc/php.ini
Then search for Scandir and delete the restart service
/scandir/etc/init.d/php-fpm Restart
We can modify the php.ini file under/usr/local/php/etc by logging in to WinSCP or putty, and then restart the PHP process "/etc/init.d/php-fpm restart".
VPS Install WordPress Encounter problems (LNMP)