Under windows, nginx visits tp5 and reports error 404.

use the inheritance environment laragon
access any page is 404
add

to the domain name .conf configuration file
    fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_param PATH_INFO $fastcgi_path_info;
    fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;

these four sentences, Access denied.
clipboard.png
so set cgi.fix_pathinfo = 1
error 404 Page Not Found in php.ini

Baidu has Googled a lot, but no solution has been found yet. I hope you can help me

.

problem description

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?


possible reason:

    The file accessed by
  1. really does not exist.
  2. The path address of the access project in the configuration file of
  3. nginx is different from your actual project address.

solution:
start with error 404 Page Not Found to confirm the above reasons.


it took two hours to finally solve

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-1e3420b-4426c.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-1e3420b-4426c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?