Posted by Tony Wainwright on 02/14/06 01:35
It is
"Siv Hansen" <sivh@broadpark.no> wrote in message
news:43f11112$1@news.broadpark.no...
> Tony Wainwright wrote:
>> I have been told that to get php to parse a page with a .html extension I
>> need to include a line in my httpd.conf file the following line:
>>
>> AddType application/x-httpd-php .php .phtml .html
>>
>> which I have done. I have also been told I need to include mod_php in
>> the same. I am running PHP 5.0.2, Apache 2.0.52, MySQL 4.0.21, and
>> Windows XP SP2. I cannot find mod_php on my system and don't know how to
>> include it in my http.conf.
>>
>> I am trying to use the following in a html page
>> <html>
>> <a href="index.php">Home</a>
>> </html>
>> Every time I try I am asked if I want to download the file.
>
> Is the index.php placed under Apache's document_root?
> If it isn't put it there and try again.
>
>>
>> Can anyone help
>> Thanks
>> Tony
Navigation:
[Reply to this message]
|