note 107058 deleted from configuration.changes by cmb

From: Date: Tue, 03 Aug 2021 15:53:57 +0000
Subject: note 107058 deleted from configuration.changes by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-216735@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- 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.

« previous php.notes (#216735) next »