Home > Article > CMS Tutorial > What should I do if the homepage cannot be displayed after phpcms is installed?
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.
##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.confSolution:
Open the drive letter:\Apache\conf\httpd.conf and find DirectoryIndex index.html index.html.var index.phpCopy 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!