Ini files for CLI only on non Win32 platform.
| From: | Richard Quadling | Date: | Fri, 13 Sep 2013 10:40:27 +0000 |
| Subject: | Ini files for CLI only on non Win32 platform. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-322071@lists.php.net to get a copy of this message | ||
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