View Single Post
  #2 (permalink)  
Old 2006-07-04, 03:52 AM
mjkramer21 mjkramer21 is offline
Junior Member
 
Join Date: Jul 2006
Posts: 4
mjkramer21 is on a distinguished road
Default

i found the answer.

just incase someone else comes across this problem in the future (it appears to be a frequently documented problem.) i'll post the solution here.

to call the module from the apache config file, insert this, and it must be at the top of the document:

# PHP 5 Support
LoadModule php5_module "c:/php5/php5apache2_2.dll"
LoadFile C:/php5/php5ts.dll
<Files "*.php">
AddHandler application/x-httpd-php .php
</Files>
PHPIniDir "C:/php5"

then scroll down to where there's a property called DirectoryIndex = in a ifModule[]

and insert this:

DirectoryIndex = "index.php".

Lot's of people have been having this problem with php5 and apache 2.2.
Reply With Quote