RE: [PHP] changes in php.ini

From: Date: Fri, 26 Aug 2005 08:07:18 +0000
Subject: RE: [PHP] changes in php.ini
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-221413@lists.php.net to get a copy of this message
For IIS, where you have defined your index.html as a default page, you laso need to define index.php as well. To to this, open the 'Properties' for your website in the IIS Admin tool, click on the 'Documents' tab and its straightforward from there. You need to do this for each site. George > -----Original Message----- > From: hope [mailto:umeed921@yahoo.com] > Sent: 26 August 2005 8:56 am > To: php-general@lists.php.net > Subject: Re: [PHP] changes in php.ini > > > 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 > >

« previous php.general (#221413) next »