Re: why does PHP parse "*.html" files in one subdir/ but not in another?

From: Date: Sun, 19 Jul 2009 03:14:17 +0000
Subject: Re: why does PHP parse "*.html" files in one subdir/ but not in another?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-295555@lists.php.net to get a copy of this message
On Sat, Jul 18, 2009 at 06:01:14PM -0600, Govinda wrote: > Hi all, > > ..sitting here thinking this is so easy, and I must have been over > this already in the past.. but it is eluding me just now.. > > I can't figure out why files with the .html extension ARE being parsed > by PHP when they are in the main doc root dir/, or in one subdirectory > down from there.. BUT NOT when in *another* new subdirectory that I > just created. Both subdirectories have the exact same perms (same > owner & group too), both have the same php.ini file in them,... > neither have an .htaccess file in them.. (if that would matter?). > > Anyway I just need to get PHP tp process all .html files in this and > in any new subdirectory(ies) that I will make. > Can someone point me to what I need to pay attention to? You do realize that PHP does not parse HTML files, right? The web server does that. In fact, the web server also parses PHP files, using a different library. Paul -- Paul M. Foster

« previous php.general (#295555) next »