Forum Moderators: coopster
; This file controls many aspects of PHP's behavior. In order for PHP to
; read it, it must be named 'php.ini'. PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
Also, will php.ini override all settings or be "merged" with /etc/php.ini?
thanks!
Here it is ...
The configuration file (called php3.ini in PHP 3, and simply php.ini as of PHP 4) is read when PHP starts up. For the server module versions of PHP, this happens only once when the web server is started. For the CGI and CLI version, it happens on every invocation.
If you are trying to use different settings for different sites, you need to override the php_value settings in your Apache <VirtualHost> containers (for those directives that allow overrides).
Resources:
Runtime Configuration [php.net]
How to change configuration settings [php.net]
php.ini directives [php.net]
thanks for the response. I might need to learn how to turn on .htaccess instead if necessary, eh.