note 99780 added to ini.sections
| From: | crashatlubytedotde at osu1 dot php dot net | Date: | Mon, 06 Sep 2010 12:45:22 +0000 |
| Subject: | note 99780 added to ini.sections | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-172332@lists.php.net to get a copy of this message | ||
If you have a system which uses separated PHP inis for loading extensions (Debian, Fedora and most
other distributions do so), [PATH=] or [HOST=] will prevent loading extensions defined in those ini
files (extension= and zend_extension=).
I had some headache, when I added a hosts.ini to /etc/php5/cgi/conf.d (Debians default), where I
wanted to define some defaults for a host name. The manual says extension= and zend_extension=
aren't allowed in [HOST=] and [PATH=] (see above). I figured out that you can easily fix that
with adding [PHP] after your definitions.
For example hosts.ini:
[HOST=dev.example.com]
display_errors = on
[PHP]
this will change the section back to [PHP] where extension= and zend_extension= is allowed.
----
Server IP: 69.147.83.197
Probable Submitter: 87.173.8.179
----
Manual Page -- http://www.php.net/manual/en/ini.sections.php
Edit -- https://master.php.net/note/edit/99780
Del: integrated -- https://master.php.net/note/delete/99780/integrated
Del: useless -- https://master.php.net/note/delete/99780/useless
Del: bad code -- https://master.php.net/note/delete/99780/bad+code
Del: spam -- https://master.php.net/note/delete/99780/spam
Del: non-english -- https://master.php.net/note/delete/99780/non-english
Del: in docs -- https://master.php.net/note/delete/99780/in+docs
Del: other reasons-- https://master.php.net/note/delete/99780
Reject -- https://master.php.net/note/reject/99780
Search -- https://master.php.net/manage/user-notes.php