Re: PHP4 installation-problem, getting download-screen

From: Date: Sat, 16 Nov 2002 23:43:59 +0000
Subject: Re: PHP4 installation-problem, getting download-screen
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-16993@lists.php.net to get a copy of this message
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" <webmaster@fallofserenity.com> To: <php-windows@lists.php.net> 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 > >

« previous php.windows (#16993) next »