Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2004 19:02:04 -0600
From:      "Pratt, Benjamin E." <bepratt@stcloudstate.edu>
To:        <freebsd-questions@freebsd.org>
Subject:   Apache FreeBSD not executing
Message-ID:  <B9F8B2B0AB64B8469DA467A654DC33951DA61E@EXCHANGE.campus.stcloudstate.edu>

next in thread | raw e-mail | index | archive | help
Hello -
=20
I'm trying to get my Apache web server up and running with PHP support =
but am running into problems.  When I try to go to a .php web page I'm =
prompted to save the page instead of having the browser show the page.
=20
I've installed both /usr/ports/www/apache21/ and =
/usr/ports/www/mod_php5/ and in my httpd.conf file I've got the lines:
=20
LoadModule php5_module        libexec/apache2/libphp5.so
DirectoryIndex index.html index.html.var index.php
AddType application/x-http-php .php
=20
I've had this running before but not since I formatted my system, =
installed FreeBSD 5.1 and then synced my source tree and upgraded the =
system.  I am now running FreeBSD 5.2.1-RC2 #2 from Sat Feb 21 13:55:19 =
CST 2004.
=20
I've also tried installing /usr/ports/lang/php5/ and =
/usr/ports/lang/php4/ and had the same issues.
=20
Thanks for any help,
=20
Ben



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9F8B2B0AB64B8469DA467A654DC33951DA61E>