Re: trouble with apache 2.0.44 and php 4.3.1 on FreeBSD and index.php

From: Date: Sat, 12 Apr 2003 08:18:21 +0000
Subject: Re: trouble with apache 2.0.44 and php 4.3.1 on FreeBSD and index.php
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-10597@lists.php.net to get a copy of this message
ack! DirectoryIndex index.php index.html index.html.var give problems, but only having DirectoryIndex index.php works just fine... another evening gone... "Jeff D. Hamann" <jeff_hamann@hamanndonald.com> wrote in message news:20030412063701.50013.qmail@pb1.pair.com... > I've been trying to upgrade my Apache (1.3.xx to 2.0.45) and PHP (from ??? > to 4.3.1) installations on my FreeBSD > 4.4 machine mostly with success, but I'm running in some strange things... > > I've added the following lines to my httpd.conf > > LoadModule php4_module libexec/apache2/libphp4.so > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > and > > DirectoryIndex index.php index.html index.html.var > > and when I attempt to go to my server after restarting using > /usr/local/sbin/apachectl restart (on the freebsd machine) and then try to > open the page from a win2k machine on the lan., I get a flash of a download > dialog, and then it goes away and the web browser doesn't stay open... > > if I remove the index.php from the line > > DirectoryIndex index.php index.html index.html.var > > then I get a dir listing on the server... > > Is there something broken? or is there a goofy config setting I should be > adding. I recall I had some trouble getting Apache1.3 working with PHP > before as well. > > Thanks, > Jeff. > > > >

« previous php.install (#10597) next »