Home  >  Article  >  CMS Tutorial  >  What should I do if the homepage cannot be displayed after phpcms is installed?

What should I do if the homepage cannot be displayed after phpcms is installed?

藏色散人
藏色散人Original
2020-07-18 11:03:153567browse

The homepage cannot be displayed after phpcms is installed because the default page of apache in the installation environment does not have "index.htm". The solution: first find and open the "httpd.conf" file; then add "index" after DirectoryIndex .htm" can be used.

What should I do if the homepage cannot be displayed after phpcms is installed?

##phpcmsAfter installation, the home page does not appear and displays blank

Cause of error:

This is because the default page of apache in your installation environment does not have index.htm.

So for novices or sometimes when we are careless, after configuring the environment, we often overlook that index.htm is not added in the symbol:\Apache\conf\httpd.conf

Solution:

Open the drive letter:\Apache\conf\httpd.conf and find DirectoryIndex index.html index.html.var index.php

Copy the code and add it after DirectoryIndex index.htm.

This way the default page can be accessed.

The above is the detailed content of What should I do if the homepage cannot be displayed after phpcms is installed?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn