Entry
Why is my PHP code executed in Microsoft browser but not in Netscape´s one?
Jun 18th, 1999 07:00
Nathan Wallace, Adrian Agata, se@lakenet.no, Nathan Wallace
Check that you have a line like this in your httpd conf file:
AddType application/x-httpd-php3 .php3
Remember that whatever extensions are added to this line defines what
extension your PHP files must use. If you want to use .php and .php3
extensions then the line should read:
AddType application/x-httpd-php3 .php3 .php
If you just want to use .phtml files then use
AddType application/x-httpd-php3 .php
You can use whatever extensions you like, but they must be defined
otherwise Apache doesn't know to send them through the PHP interpreter.