View Single Post
Old 02-05-2008, 12:22 PM   #1
Julie Meloni
 
Julie Meloni's Avatar
 
Posts: n/a
My Photos: ()

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default [PHP-WINDOWS] php4 and apache

Ralph Birden wrote:
>
> ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"
> ScriptAlias /php "C:/php4/"
>
> AddType application/x-httpd-php .phtml .php
> AddType application/x-httpd-php-source .phps
>
> Action application/x-httpd-php /php4/php.exe



Ok, here's your problem(s):

This ScriptAlias line:
ScriptAlias /php "C:/php4/"

should at least have a trailing slash after the alias:
ScriptAlias /php/ "C:/php4/"

Then, the Action line you use:
Action application/x-httpd-php /php4/php.exe

should match the first part of /alias/php.exe with what you created in
the ScriptAlias line.

So, if you REALLY meant the ScriptAlias to be /php/ then the Action line
should read:
Action application/x-httpd-php /php/php.exe

But, assuming you meant to have the ScriptAlias be /php4/, just make
THAT change, restart Apache, and all should be right with the world.

- Julie

+------------------------------------------------+
| Julie Meloni |
| Tech. Director, i2i Interactive (www.i2ii.com) |
| e-mail: jcm@i2ii.com |
| |
| "PHP Essentials" ... http://www.thickbook.com/ |
+------------------------------------------------+
  Reply With Quote
Advertisements