Home > CMS Tutorial > PHPCMS > 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?

藏色散人
Release: 2020-07-18 11:03:15
Original
3679 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Issues
How to uninstall phpcms
From 1970-01-01 08:00:00
0
0
0
phpcms cannot be installed
From 1970-01-01 08:00:00
0
0
0
phpcms access address does not exist
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template