Re: official statement about PHP file extensions?

From: Date: Fri, 19 Apr 2002 13:21:14 +0000
Subject: Re: official statement about PHP file extensions?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-93687@lists.php.net to get a copy of this message
On Fri, 19 Apr 2002 heinisch@creaction.de wrote: > At 19.04.2002 13:32, you wrote: > > > >Hi, > > > >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. I wonder why they do this? In my experience, php3 code runs fine on a php4 server and on the servers I manage, the apache configuration passes both .php3 and .phtml scripts to php4 for execution. Andy

« previous php.general (#93687) next »