On Monday 06 August 2001 11:14, Farawak wrote:
> I am using Apache server 1.3.20 on a NT4 box with php-4.0.5. Apache server
> starts but when i try to go the test.php through a web browser i get
> prompted with the download this file box when i should be getting the page.
> I know this has to do with file association in the php.ini file.
>
> I have added this in the php.ini file but still get prompted with the box
> in the web browser:
>
> ScriptAlias /php4/ "C:/php"
> Action application/x-httpd-php4 "/php4/php.exe"
> AddType application/x-httpd-php4 .php

The lines are ok, but you should put them in httpd.conf, and not php.ini.

Cheers

-- 
Phil Driscoll

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to