Andreas,
Seems like you need to tell Apache to EXECUTE any php files asked for rather
than offer them up for download.  Do this by editing your httpd.conf file
(C:\Program Files\Apache Group\Apache\conf\httpd.conf) as follows ....


ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Action application/x-httpd-php "/php/php.exe"

 .... typically near or underneath the "Aliases" or "ScriptAliases" section
where a portion of these directives might already be found but in an
incomplete or incorrect form.

This tells Apache that files with a php extension should be executed through
php.exe - assuming of course that you have chosen a cgi style implementation
(not optimal but probably less trouble if you are just starting out).




----- Original Message -----
From: "Andreas Ferge" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 17, 2002 3:48 AM
Subject: [PHP-WIN] PHP4 installation-problem, getting download-screen


> Hi,
>
> I've just installed PHP4 with Apache 1.3.x on Wondows XP. When I start the
> info-script
>
> <?php
> phpinfo();
> ?>
>
> i always get the download-screen. What is wrong here? Apache is working
> well. Please help me, I'm a newbie.
>
> Thanks in advance!
>
> Andreas
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


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

Reply via email to