linux - After Centos7 Lnmp is installed, I can access phpinfo with no problem, but I get 404 when accessing the project. I tried many methods but failed to solve it.
淡淡烟草味
淡淡烟草味 2017-07-01 09:11:49
0
1
1207

1. As mentioned, the environment has been installed and configured successfully. It is no problem to create a new file and output phpinfo(). The project is also placed in the statistics directory. Please see:


There is nothing wrong with accessing phpinfo, please read on:

There is a problem accessing the project! The debugging mode is turned on (display_error in php.ini is turned on, and the paragraph [error_reporting(E_ALL | E_STRICT);
ini_set("display_errors", "On");] is also added to index.php), then Come down and see ngin

...]

The error log of php is indeed turned on, but there is no content. All files in the project belong to root, and the permissions are 777:

Next, please see the configuration information of nginx:

No, I have roughly described my needs. Do you have any solutions?

淡淡烟草味
淡淡烟草味

reply all(1)
刘奇

{Domain name}/index.php/ Changed to {Domain name}/index.php

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template