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 Norman Peelman on 10/27/07 13:18

Lars Willich wrote:
> As far as I know I can override the php settings for a certain branch of the whole directory tree
> by putting a additional, new php.ini in this directory.
>
> Is this true ?
>
> If I assign in this new php.ini only a new value to 1 (!) php variable are then all the
> other php parameter values taken from the next php.ini when I go towards the root of
> the directory tree? Or - otherwise - are default built-in values from PHP taken in this case ?
>
> Do I have to do something else to activate this new php.ini (e.g. specify something in the
> .htaccess file) ?
>
> Lars
>

DOn't know about others but in addition to .htaccess you can
over-ride ini entries within Apache virtual-host entries.

See:

http://us3.php.net/manual/en/ini.php

scroll to bottom for examples...

Norm

[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

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