Ini files for CLI only on non Win32 platform.

[email protected] (Richard Quadling)
Newsgroups php.general
Message-ID <CAKUjMCX2-SWODxeQNzOkoAr_PL1q2MArmtKCFe1goyEZJTJkUA@mail.gmail.com>
Hi.

I've got an instance of PHP that is looking for additional ini files in
/etc/php.d

This seems to work well.

I now need to make one of the ini files only accessible if the SAPI is CGI.

So, I renamed the file ...

mv /etc/php.d/my.ini /etc/php.d/my-cgi.ini

If I do a ...

php --ini

I still see the ini file.

Is the -SAPI filtering performed on the additional files?

It doesn't seem to and I can't really tell from the dox if it is supposed
to.

Regards,

Richard.
-- 
Richard Quadling
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.