apache and php
| From: | Gareth Thomas | Date: | Thu, 09 Jan 2003 02:03:18 +0000 |
| Subject: | apache and php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-130841@lists.php.net to get a copy of this message | ||
I am trying to run a PHP page from my browser (Mozilla) and each time I load
the page it is attempting to force a dowload of the page instead, based on
the mime-type. I had been developing a command line PHP application which
works fine and then had just started on a web interface and realised that
Apache may not be configured correctly. So I edited httpd.conf and added the
Add Type line for x-type-httpd .php. I am running Apache 2.0.40 on RedHat 8
and PHP 4.3.0pre2. Can anyone tell me what I am doing wrong? What should the
modifications be to httpd.conf for PHP?
Thanks in advance