Re: why does PHP parse "*.html" files in one subdir/ but not in another?
| From: | Stuart | Date: | Sun, 19 Jul 2009 06:48:53 +0000 |
| Subject: | Re: why does PHP parse "*.html" files in one subdir/ but not in another? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-295562@lists.php.net to get a copy of this message | ||
2009/7/19 Jim Lucas <lists@cmsws.com>:
> 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?
>>
>> Thank you
>> -Govinda
>>
>>
>>
>> ------------
>> Govinda
>> govinda.webdnatalk@gmail.com
>>
>>
>
> Another thing you could do is, instead of a .htaccess, use a php.ini file in
> your
> DOCUMENT_ROOT. Sometimes hosts allow this file. If allowed, you will then
> be able
> to set any php.ini configuration option you want.
>
> Give it a shot! What do you have to loose at this point?
Lose not loose, and php.ini has no control over what file types get
parsed by PHP.
-Stuart
--
http://stut.net/