Under MAC, nginx accesses virtual domain names instead of downloading php files.

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

Jun.24,2022

$document_root try to change to usr/local/var/www


change the communication mode to socket

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ba63-2c2b4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ba63-2c2b4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?