Re: changes in php.ini

From: Date: Fri, 26 Aug 2005 07:55:52 +0000
Subject: Re: changes in php.ini
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-221412@lists.php.net to get a copy of this message
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


« previous php.general (#221412) next »