It's troublesome to move to Alibaba Cloud,
The solution to WordPress background 404 in Nginx is just restarted,
Now, the installed topic cannot be displayed. If you try to delete a topic, you will find that the front and back of the entire website is blank ..
Whining...
What is the situation? Why is the installed topic missing...
As a result, du Niang Google
It still appears in the configuration of this environment.
Php. ini configured in this version is faulty. The default function scandir of php is disabled, which causes this problem,
Enable the scandir function in php. ini.
Solution:
1. Find php. if you install ini by default, the path should be/usr/local/php/etc/php. you can also use http: // your domain name/phpinfo. php: php. ini path;
2. Run the vi command or ftp to download the php. Ini file;
3. Search for the disable_functions function and remove scandir from the function. The file location is shown in the following figure:
Enable scandir function
4. Save the file. If you find it by using the vi command, press esc and enter wq! Save it. I used ftp to download and modify it, and then upload and overwrite the file;
5. Restart the server and run/root/lnmp reload in ssh.
At this point, the problem can be solved.