> > Currently php searches for php.ini in the current working directory,
PHPRC
> > environment variable and the compiled in default dir (in that order).
> > Searching in the CWD first is IMHO not a very good thing, especially
when
> > dealing with cli scripts.
> >
> > Are there any objections to removing CWD from php.ini search path?
>
>     Speaking from a developers view I found it quite handy to
>     look in current dir first (testing bugs from bugs.php.net,
>     for every category I've my own dir with  php files and
>     php.ini for special settings, like module load). But then,
>     what does the developers view count when it's a possibly
>     security prblem in real life? . Hum ;)

It is handy for debuging. But a single "export PHPRC=." would fix that.

Edin


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to