You are here: Re: Using local php.ini files « PHP Programming Language « IT news, forums, messages
Re: Using local php.ini files

Posted by J.J.SOLARI on 07/26/06 09:20

Chuck Anderson <websiteaddress@seemy.sig> wrote:

> Does anyone have any idea what kind of configuration they used that
> allowed the local php ini files to be used?
>
> Is there an Apache configuration directive needed to allow php
> directives in the htaccess file?

Chuck,

If PHP is running as a CGI, you could use the special environment
variable PHPRC (see <http://www.php.net/manual/en/configuration.php>)

In your htaccess file, you would then have:

SetEnv PHPRC /path/to/your/php.ini

hih,

JJS.

 

Navigation:

[Reply to this 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

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