downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Resource Types> <Installation
Last updated: Fri, 20 Nov 2009

view this page in

Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

Network Configuration Options
Name Default Changeable Changelog
define_syslog_variables "0" PHP_INI_ALL Deprecated in PHP 5.3.0. Removed in PHP 6.0.0.

For further details and definitions of the PHP_INI_* modes, see the Where a configuration setting may be set.

Here's a short explanation of the configuration directives.

define_syslog_variables boolean

Whether or not to define the various syslog variables (e.g. $LOG_PID, $LOG_CRON, etc.). Turning it off is a good idea performance-wise. At runtime, you can define these variables by calling define_syslog_variables().



add a note add a note User Contributed Notes
Runtime Configuration
php at kennelREMOVEME17 dot co dot uk
26-Sep-2008 01:29
I'm not quite sure what the point of this is.  As far as I can tell, it simply creates variables containing the constant values defined on http://uk.php.net/manual/en/network.constants.php (using the same names), and I can't see why you would need to do that (why not just use the constants?).  Is this a backwards-compatibility issue, or is this function doing something else that I've misunderstood?

Resource Types> <Installation
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites