I did try this:

AddType application/x-httpd-php .php

But that didn't seem to work, even after restarting PHP. I am assuming I
need to tell Apache where the PHP executable is and to use that for *.php.
But I don't know how to do that since I installed PHP as a CGI-binary.

Also where can I find that install file? Our sysadmin guy did this and I
think he missed a few things. I can't find it in any of the php directories.

thanks

ted

> -----Original Message-----
> From: Chris Hewitt [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 26, 2002 1:49 PM
> To: Serbinski, Theodore S
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: [PHP-INST] Loads of Trouble: PHP installed as CGI on Unix
> 
> 
> Serbinski, Theodore S wrote:
> 
> >
> >However, anytime I visit our server and try to view a *.php 
> page, it just
> >tries to open/save the file, instead of actually displaying HTML.
> >
> Its probably the AddType line in httpd.conf. This tells apache to use 
> php for these types of files. The INSTALL file has the details. Sorry 
> this is short, just off out.
> 
> HTH
> 
> Chris
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to