Nops I m using IIS

Hope


Jasper Bryant-Greene wrote:

hope wrote:
Hi all

Whenever I create a site
and create a index.php file as my home page.

Whenever i run it a http://localhost/myproject/


it says Page cannot be found

However if I have index.html file it displays.

SOmebody told me that i need to make changes to php.ini

bt where and what to change there.

You don't need to change php.ini, you need to configure your server (is it Apache?) to display index.php files as the DirectoryIndex. If it is Apache, then either insert the following line in the relevant part of httpd.conf for that virtual host/directory, or put it in an .htaccess file in the root of your web application:

DirectoryIndex index.php

Jasper

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to