RE: [PHP-INST] Loads of Trouble: PHP installed as CGI on Unix
| From: | Serbinski, Theodore S | Date: | Thu, 26 Sep 2002 17:48:54 +0000 |
| Subject: | RE: [PHP-INST] Loads of Trouble: PHP installed as CGI on Unix | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8580@lists.php.net to get a copy of this message | ||
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:g0pae@manordat.demon.co.uk]
> Sent: Thursday, September 26, 2002 1:49 PM
> To: Serbinski, Theodore S
> Cc: 'php-install@lists.php.net'
> 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
>