note 107058 added to configuration.changes
| From: | Anonymous at osu1 dot php dot net | Date: | Wed, 04 Jan 2012 04:15:07 +0000 |
| Subject: | note 107058 added to configuration.changes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-185351@lists.php.net to get a copy of this message | ||
For Mac users (Leopard/Tiger/Lion) it's worth knowing exactly where your httpd.conf and php.ini
ares picked up, but, out of the box, these are defined only in the compiler settings as defaults.
The httpd binary was compiled with default settings of
SERVER_CONFIG_FILE="/private/etc/apache2/httpd.conf"
meaning starting apache using apachectl picks up this httpd.conf without it being specified on the
command line via the org.apache.httpd.plist file is /System/Library/LaunchDaemons.
Again, the default httpd.conf does not contain a PHPIniDir, and locates php.ini via libphp5.so in
/etc - you would need to create one here (using one of the php.ini.default templates if you want).
It's worth changing the PHPIniDir setting in httpd.conf setting to eg.:
Configuration File /usr/local/php5/lib/php.ini
so you know exactly which php.ini is being used at all times.
phpinfo() will then advise you that it's using this file.
----
Server IP: 69.147.83.197
Probable Submitter: 120.148.2.96
----
Manual Page -- http://www.php.net/manual/en/configuration.changes.php
Edit -- https://master.php.net/note/edit/107058
Del: integrated -- https://master.php.net/note/delete/107058/integrated
Del: useless -- https://master.php.net/note/delete/107058/useless
Del: bad code -- https://master.php.net/note/delete/107058/bad+code
Del: spam -- https://master.php.net/note/delete/107058/spam
Del: non-english -- https://master.php.net/note/delete/107058/non-english
Del: in docs -- https://master.php.net/note/delete/107058/in+docs
Del: other reasons-- https://master.php.net/note/delete/107058
Reject -- https://master.php.net/note/reject/107058
Search -- https://master.php.net/manage/user-notes.php