Re: Silly Question
| From: | Jenni &/or Patrick | Date: | Fri, 25 Aug 2000 23:37:38 +0000 |
| Subject: | Re: Silly Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13760@lists.php.net to get a copy of this message | ||
Here's what I have in my httpd.conf
ScriptAlias /php/ "C:/Inetpub/PHP4/"
AddType application/x-httpd-php3 .php3
Action application/x-httpd-php3 "/php/php.exe"
Notes:
1. Your AddType application/x-httpd-php-source will not work. Fact of
PHP-CGI life.
2. The path to PHP on my machine is C:\Inetpub\PHP4\PHP.exe
3. I know I use application/x-httpd-php3 - it doesn't matter what you
use, though application/x-httpd-??? is a good idea.
4. I re-iterate: I use application/x-httpd-php3, because I associate
.php .phtml .html etc with it, and have been uploading to a host that still
uses PHP3, thus the x-httpd-php3 instead of x-httpd-php
5.
----- Original Message -----
From: "Rini Setiadarma" <riniseti@comp.nus.edu.sg>
To: "Dewa" <dewa@indosat.com>
Cc: "PHP Mailing List" <php-general@lists.php.net>
Sent: Friday, August 25, 2000 5:00 PM
Subject: Re: [PHP] Silly Question
> On Fri, 25 Aug 2000, Dewa wrote:
>
> > I've tried that,
> > al already put
> >
> > ScriptAlias /php/ "C:/Homepage/PHP401/"
> >
> > AddType application/x-httpd-php .php .php4
> > AddType application/x-httpd-php .phtml
> > AddType application/x-httpd-php-source .phps
> >
> > Action application/x-httpd-php "/php/php.exe" --> I think you have to
> change this line to point to php.exe (which I assume is
> c:\homepage\php410\php.exe)
>
>
> >
> > the apache system is in c:\apache
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>