The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Apache not recognizing php?
Author: ElanJeff 
Date:   24-08-00 03:08

I'm trying to add "phorum" to my web server. I've managed to get mysql installed and running right (I think!) and Apache 1.3.12 was running fine before, but without PHP3. I installed the package of PHP3 (not bothering to remove the old one) and it didn't recognize .php files correctly. Going into the appropriate phorum dir produced a list of all the files instead of running index.php, and clicking on a .php file showed it as text.
I went into the apache.conf file and found the "AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps" lines commented out, so I uncommented them. Now when I clicked on them, Netscape wants to download a file of type "application/x-httpd/php"...
After this, I removed both installs of Apache are re-installed just the PHP3 port. (This is the 3.0.15 one, not the 4.0b3 one.)
I can't seem to find anything anywhere with details on the Apache+PHP3 port. It's gotta work for some people, but I sure can't figure out what I'm doing wrong. Anyone got any ideas?

Thanks!


 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Apache not recognizing php?   new
ElanJeff 24-08-00 03:08 
 RE: Apache not recognizing php?   new
Dan Langille 24-08-00 08:41 
 RE: Apache not recognizing php?   new
ElanJeff 24-08-00 14:14 
 RE: Apache not recognizing php?   new
Dan Langille 24-08-00 21:52 
 RE: Apache not recognizing php?   new
ElanJeff 25-08-00 06:12 
 RE: Apache not recognizing php?   new
Dan Langille 25-08-00 11:12 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org