RE: [PHP-WIN] .php3 extension not being executed!
| From: | Ross Fleming | Date: | Tue, 23 Oct 2001 19:25:27 +0000 |
| Subject: | RE: [PHP-WIN] .php3 extension not being executed! | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9972@lists.php.net to get a copy of this message | ||
Apache\conf\httpd.conf
Just open it in notepad or similar and insert it in where the rest of the
AddType's are. Search the document for php, there is probaby something
similar commented out. Just stick in the one I gave you.
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php3
Action application/x-httpd-php "/php/php.exe"
Change the .php3 to whatever file extension you want to be recognised and
treated as php files. (personally I use .php) Make sure that php4ts.dll is
copied to your winnt/system32 folder as well.
We all learnt once. :)
Ross
-----Original Message-----
From: Todd Williamsen [mailto:todd@williamsen.net]
Sent: 23 October 2001 20:16
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] .php3 extension not being executed!
Ross,
Thanks... but which file is that?
I am trying to ween myself off of MS stuff, so be patient with me
"Ross Fleming" <r.fleming@totalise.co.uk> wrote in message
news:MABBLJAPGGBPMIPHMAGBOEGOCDAA.r.fleming@totalise.co.uk...
> What do you mean? If you mean that index.php3 is just spewing out the raw
> source code then it's because you don't have
>
> ScriptAlias /php/ "c:/php/"
> AddType application/x-httpd-php .php3
> Action application/x-httpd-php "/php/php.exe"
>
> in your apache conf file.
>
> Ross
>
> -----Original Message-----
> From: Todd Williamsen [mailto:todd@williamsen.net]
> Sent: 23 October 2001 20:08
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] .php3 extension not being executed!
>
>
> What could be causing this?
>
> I am using Win2k with Apache
>
> thanks
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net