Install PHP on Apache
| From: | Nils Ludwig | Date: | Tue, 10 Sep 2002 12:02:40 +0000 |
| Subject: | Install PHP on Apache | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8391@lists.php.net to get a copy of this message | ||
Hi,
I tried to install PHP4 on an existing Apache. After downloading and
extracting the packages I made following:
./configure --with-mysql --enable-force-cgi-redirect --enable-discard-path -
-with-config-file-path=/etc
Then I made make and make config.
All worked fine without any error. After that I wrote in http.conf:
ScriptAlias /php/ "/home/downloads/www/php-4.2.3/"
AddType application/x-httpd-php .php
Action application/x-httpd/php "/home/downloads/www/php-4.2.3/php"
But if I try to open any php-file my browser want to download the file.
What error is there (I think in Action application...)???