index.php as the homepage

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bluelad
Forum Commoner
Posts: 34
Joined: Mon Jun 05, 2006 8:34 am

index.php as the homepage

Post by bluelad »

i have created an index.php file and want it to appear as my site's homepage. But the browsers somehow doesnt show it. Only when i type in xyz.com/index.php it shows the page. I hope u understand my problem!
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

That depends on the webserver configuration which depends on the type of webserver in use.
jabbaonthedais
Forum Contributor
Posts: 127
Joined: Wed Aug 18, 2004 12:08 pm

Post by jabbaonthedais »

Also, do you have other index/main files in your root directory? For example, index.html, main.html, etc. Different servers have a different order of what index file to look for first. If you have no index file other than the .php you should make sure its configured, and of course, that php is installed on the server.
bluelad
Forum Commoner
Posts: 34
Joined: Mon Jun 05, 2006 8:34 am

Post by bluelad »

ya there was another index.html. It works fine with IE but Mozill Firefox doesnt still show the index.php. I am runing easyPHP.
Post Reply