[PHP-WINDOWS] php4 and apache - it still doesn't work | | Hi All,
Thanx for all the info but I still didn't get php4, apache 1.3.9 and win98
(first edition) to work. The normal index.htm works perfectly, but index.php
just doesn't work. When the timeout is over (5 minutes) it says "cannot find
server". I've tried using index.phtml, index.php and index.php4. Nothing
helped
-----------------------------------------------
This is all I have in httpd.conf
AddType application/x-httpd-php .phtml .php .php4 (on line 597)
AddType application/x-httpd-php-source .phps
ScriptAlias /cgi-bin/ "C:/Apache/cgi-bin/" (on line 460)
ScriptAlias /php/ "c:/php/"
Action application/x-httpd-php /php/php.exe (on line 642)
----------------------------------------------------------------
Apache is in C:\apache
php4 is in c:\php
----- Original Message -----
From: Julie Meloni <julie@thickbook.com>
To: <php-windows@lists.php.net>
Sent: Wednesday, June 07, 2000 5:13 PM
Subject: Re: [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/ |
> +------------------------------------------------+
>
> --
> 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
> |