Uwe,

I'm not familiar with php on windows, but maybe I can give some 
pointers. I assume apache is running. The lines you have added in 
httpd.conf are for when calling php via a url in apache e.g. 
"http://yourbox.com/foo.php";. The lines do not tell windows that 
extensions of ".php" are associated with any program. To run the cgi 
version from the command line do "php foo.php".

Use a simple file such as phpinfo.php for tests with this content:
<? php
phpinfo();
?>

Tell us what happens when you do this.
HTH
Chris

Uwe Birkenhain wrote:

>Hallo,
>on W98 I installed apache 1.3.26 and it's running (not as a service).
>Then I installed PHP with the Installation-Setup (not as a module) and when
>I call it from the DOS-Prompt with '-i' a lot of garbage is coming -
>probably the Info-List.
>
>But when I try to call (doubleclick or something) a simple PHP-Script ("say
>hello to the world") I always get the message "with wich program you want to
>open this file?"
>
>And yes, I have inserted
>"
>   ScriptAlias /php/ "c:/php/"
>   AddType application/x-httpd-php .php
>   Action application/x-httpd-php "/php/php.exe"
>"
>in httpd.conf (and started then apache).
>
>Any help would be greatly appreciated,
>Uwe
>
>BTW: Sorry, this message is now here for the third time - because my
>systemdate was two weeks late (have a look at June, 14).
>
>
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to