trouble with apache 2.0.44 and php 4.3.1 on FreeBSD and index.php
| From: | Jeff D. Hamann | Date: | Sat, 12 Apr 2003 06:41:13 +0000 |
| Subject: | trouble with apache 2.0.44 and php 4.3.1 on FreeBSD and index.php | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10595@lists.php.net to get a copy of this message | ||
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.