Click to See Complete Forum and Search --> : PHP4 and Netscape Navigator 4,7


Anon
08-02-2000, 02:37 AM
I have recently upgraded my system to PHP4.

When I comment out (#) the following lines

AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps

and remove the # from the following lines

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

and restart apache and load my webpages via Netscape Navigator 4.07, the web pages print out in HTML instead of displaying the forms etc.

If I rename the webpages from *.php3 to *.php and load the webpages I get from Netscape

Unknown file type
You have started to download a file of type application/x-httpd-php

It asks me to select 1 of the following
More Info Pick App Save File Cancel

If I select More Info - netscape cannot find a Plug In to download the page.

Can anyone please help me?

Thanks

Tony

Anon
08-02-2000, 02:56 AM
I thought you had to do some other stuff to the httpd.conf file like tell it where the .dll's are or the php.exe etc.

scott d~

Anon
08-02-2000, 03:35 AM
I am running Apache-1.3.12.
I compiled PHP using the static module.
I have checked the INSTALL file and this does not mention any other changes to httpd.conf than removing the "#"s from the AddType lines.

This may be linked, I cannot find php.ini after I have upgraded to PHP4 !!!

Anon
08-02-2000, 06:37 AM
I have recompiled PHP4 with apache stopped and everything now appears ok.
I can display my web pages and when I do phpinfo I am now running PHP4 where before I was running PHP3.0.16.

Thanks to anyone who had spent any time looking at this.

Tony