Forum Moderators: coopster

Message Too Old, No Replies

PHP 5 problem with index pages...

         

kwilson172

5:45 pm on May 4, 2005 (gmt 0)

10+ Year Member



PHP 5 is not parsing directory indexes pages for some reason. When I switch it to 4 ( with same configurations ) it is not a problem, but when I switch to 5 apache sends the index.php page through without parsing it, my configuration:

LoadModule php4_module modules/libphp4.so

<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 20971520
</Files>

DirectoryIndex index.php
AddType application/x-httpd-php .php

coopster

7:59 am on May 5, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, kwilson172.

>> LoadModule php4_module modules/libphp4.so

That may be your issue with PHP5 ;)

ergophobe

3:55 pm on May 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Er.. I think that's the question coop - he is changing the LoadModule directive, but when he does, PHP doesn't work (i.e. it switches from parsing to not parsing rahter than just being stuck parsing as PHP4).

Assuming that, when you restart Apache (you are restarting Apache?), does it start without errors or problems?

If you give a specific page rather than allowing the default index, does it parse that?