Excuse me, the personal virtual host can only access the html file, how is it that the php file of the website shows the 404.3 Not Found error?

1. I can access the html file when I upload it, but I can"t access it without the html file. The default home page of the website is also set to show index.html when both inex.php index.html, files exist (I set index.php first), and accessing the php file under the root path shows a 404.3 Not Found error.

clipboard.png
clipboard.png

2. Excuse me, what"s going on? Thank you.


when both index.html and index.php exist, you visit index.html because the default page you open in your configuration is index.html in front of index.php.

but the .php file cannot be opened because your php environment is not configured correctly.


1. Maybe php does not have
2 installed. You have not configured to parse the php file

Menu