Reply to Re: Does a lower php.ini replace an upper php.ini in the directory tree ? Activation in .htaccess necessary ?

Your name:

Reply:


Posted by Jerry Stuckle on 10/29/07 11:47

luiheidsgoeroe@hotmail.com wrote:
> On Oct 29, 11:05 am, AnrDaemon <anrdae...@freemail.ru> wrote:
>> Greetings, Jerry Stuckle.
>> In reply to Your message dated Saturday, October 27, 2007, 18:02:01,
>>
>>
>>
>>> AnrDaemon wrote:
>>>> Greetings, Jerry Stuckle.
>>>> In reply to Your message dated Saturday, October 27, 2007, 18:15:16,
>>>>> I always use php.ini to set the basic commands. I'll use the httpd.conf
>>>>> to modify specific directories for specific commands, but that's all.
>>>>> It's stupid to load all of your configuration stuff in httpd.conf. And
>>>>> even worse to put it in .htaccess!
>>>> We're speaking about specific needs (say, handling dynamic signatures and file
>>>> downloads).
>>>> Why I said
>>>>>> Use php-apache2handler.ini or php-apache2filter.ini (depends on which SAPI You
>>>>>> use) to create default environment.
>>> Try your full comment:
>>> >>> Hm. Please tell me why You bothering with PHP.ini if You using PHP
>>> >>> as web scripting engine?
>>> >>> Install PHP as Apache module and use httpd.conf/.htaccess to control
>>> >>> it's behaviour.
>>> >>> Use php-apache2handler.ini or php-apache2filter.ini (depends on
>>> >>> which SAPI You use) to create default environment.
>>> I restate. It is stupid to place everything in your httpd.conf,
>> You're indeed right. Any better comments?
>>
>>> directly or indirectly by placing it in a file called in your
>>> httpd.conf. PHP.INI is the initialization file for PHP, and should be
>>> used as such.
>> Well, please, how I can change PHP/Apache behaviour in single directory using
>> one PHP.ini?
>
> As he states:
>
>>> It (httpd.conf) should be used as
>>> such - for configuring Apache and things which are specific to the
>>> server, a virtual host or a directory.
>
> I suspect you actually agree...
> --
> Rik
>
>

Hi, Rik,

No, he's saying he does ALL PHP configuration in his httpd.conf
(actually a file included in his httpd.conf). I'm saying PHP should be
configured in the php.ini file and only modified in httpd.conf as necessary.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация