Re: Problems by running test.php
| From: | Miguel Carvalho | Date: | Fri, 04 Oct 2002 17:58:35 +0000 |
| Subject: | Re: Problems by running test.php | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8668@lists.php.net to get a copy of this message | ||
> Hi,
>
> I've some problems in running the php-Testfile. When I try
> to open a phpscript-file the browser wants to download it to
> my local disk.
>
> The application/x-httpd-... I inserted in the mime.types
> and the other in the httpd.conf. When I want to view a phpsite
> in my browser the browser wants to download the file.
>
To view the content generated by the script, the web server must know how
to handle the php script, so he needs to know the module information that
will do that( i.e the PHP engine ).
Check if in your httpd.conf there is some line like this:
LoadModule php4_module modules/libphp4.so
Miguel