On Fri, Jul 27, 2007 at 09:32:19PM -0700, Jeff D wrote: > On Sat, 28 Jul 2007, Rick Pasotto wrote: > >> On Fri, Jul 27, 2007 at 09:12:28PM -0700, Jeff D wrote: >>> On Fri, 27 Jul 2007, Rick Pasotto wrote: >>> >>>> I have been happily using apache1.3 and php5 but a reboot caused things >>>> to stop working. >>>> >>>> I now have apache2 and libapache2-mod-php5 installed but apache is not >>>> serving php documents. It serves html just fine. The php5.conf and >>>> php5.load modules are enabled. Restarting apache2 gives no errors. >>>> >>>> What do I have wrong? How can I get my php pages served? >>> >>> What happens when you try to browse to a php page? >> >> "The file is of type application/x-httpd-php and seamonkey doesn't know >> how to handle this file type." >> > > try adding : > AddType application/x-httpd-php .php .phtml .php3 > AddType application/x-httpd-php-source .phps > > in your host file in /etc/apache2/sites-enabled/site-file
Nope. Those lines are already in the php5-conf file and it is enabled. Is there some command that will give me the configuration of a running apache2? Something like phpinfo()? Everytime I reload I get this line in the error.log: [notice] Apache/2.2.3 (Debian) PHP/5.2.3-1+b1 configured -- resuming normal operations And there are lines like this in the access.log: "GET / HTTP/1.0" 302 312 "-" "Apache/2.2.3 (Debian) PHP/5.2.3-1+b1 (internal dummy connection)" -- "You can make more friends in two months by becoming interested in other people than you can in two years by trying to get other people interested in you." -- Dale Carnegie Rick Pasotto [EMAIL PROTECTED] http://www.niof.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]