Re: official statement about PHP file extensions?

From: Date: Fri, 19 Apr 2002 13:08:44 +0000
Subject: Re: official statement about PHP file extensions?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-93682@lists.php.net to get a copy of this message
On Friday, April 19, 2002, at 07:42 AM, heinisch@creaction.de wrote:
Is there any official statement (by php.net) about which file extension you should use when using PHP (1, 2, 3 or 4)? I know that's server related, but isn't there a standard? http://www.fatcow.com/help/php.shtml states when using PHP4, you should use .php4. But I have the feeling that's not true. I can remember the windows installation of PHP4 which said .phtml and .php3 were deprecated and .php was the only alternative. Thanks in advance
This only belongs to the settings your webserver allows. f.e. I have configured, to parse every html file, so it looks like there were static files, but they are php files. (not recommended on "real traffic/big" sites Some ISP´s suggest that you use php3/4 extensions, as they have both versions running.
Yeah, it really only depends on the web server. I saw someone just the other day posting on this list who had their httpd.conf set to parse any ".asp"-suffixed files with PHP. That was funny. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#93682) next »