This afternoon, I configured the nginx + php environment and prepared to play with wordpress. However, after the configuration, the php page remains blank. At first I thought it was a permission problem. After I changed the permission to 755, it still did not work. Then I opened the nginx and php logs, but there was no error in the logs. The attempt to change the php log is fruitless. Evening
This afternoon, I configured the nginx + php environment and prepared to play with wordpress. However, after the configuration, the php page remains blank. At first I thought it was a permission problem. After I changed the permission to 755, it still did not work. Then I opened the nginx and php logs, but there was no error in the logs. The attempt to change the php log is fruitless. Evening
This afternoon, I configured the nginx + php environment and prepared to play with wordpress. However, after the configuration, the php page remains blank. At first I thought it was a permission problem. After I changed the permission to 755, it still did not work. Then I opened the nginx and php logs, but there was no error in the logs. The attempt to change the php log is fruitless. After returning home in the evening, I continued to try again for a long time. In the end, I found that the nginx configuration file contains less configuration information.
Fastcgi_param SCRIPT_FILENAME $ document_root $ fastcgi_script_name;
Due to the lack of configuration information, nginx does not send the PHP file address to be parsed to phpfpm, so the page remains blank and there is no parsing error message.
Original article address: The nginx + phpfpm page shows a blank question. Thank you for sharing it with me.