php can be read directly with localhost access, and virtual domain name access becomes download. Html file access is normal. I searched the Internet for a long time and knew it was the problem with php-fpm, but I tried a lot of solutions to no avail. Would you like to ask me exactly what went wrong with my profile?
my php-fpm.conf file directory is private/etc/php-fpm.conf
the project root directory is usr/local/var/www
Nginx.conf is configured as follows:
9000fpm
Please let me know