PHP - PHP Options - Info Funct
PHP - PHP Options - Info Funct
http://php.net/manual/en/ref.info.php
1 of 3
3/3/2010 7:04 AM
http://php.net/manual/en/ref.info.php
php_sapi_name Returns the type of interface between web server and PHP php_uname Returns information about the operating system PHP is running on phpcredits Prints out the credits for PHP phpinfo Outputs lots of PHP information phpversion Gets the current PHP version putenv Sets the value of an environment variable restore_include_path Restores the value of the include_path configuration option set_include_path Sets the include_path configuration option set_magic_quotes_runtime Sets the current active configuration setting of magic_quotes_runtime set_time_limit Limits the maximum execution time sys_get_temp_dir Returns directory path used for temporary files version_compare Compares two "PHP-standardized" version number strings zend_logo_guid Gets the Zend guid zend_thread_id Returns a unique identifier for the current thread zend_version Gets the version of the current Zend engine
PHP Options/Info Functions Stephen 20-Jul-2007 02:22 The manual states above: <<< The default is to allow dynamic loading, except when using safe mode. In safe mode, it's always impossible to use dl(). >>> ...however, on the manual page for dl(), it states: <<< Note: dl() is not supported in multithreaded Web servers. Use the extensions statement in your php.ini when operating under such an environment. However, the CGI and CLI build are not affected ! Note: As of PHP 5, the dl() function is deprecated in every SAPI except CLI. Use Extension Loading Directives method instead. Note: Since PHP 6 this function is disabled in all SAPIs, except CLI, CGI and embed. >>> gilthansNOSPAAM at gmailSPAAMBLOCK dot com 16-Mar-2005 01:04 Note: when magic_quotes_gpc is ON, it will also slash values inside both $_SERVER['QUERY_STRING'] and $_SERVER['SCRIPT_NAME'] (and equivalents) will also be slashed. Mark
2 of 3
3/3/2010 7:04 AM
http://php.net/manual/en/ref.info.php
15-Jun-2004 12:37 You probably don't want to set "magic_quotes_runtime" because it affects even binary file read/write operations. This is especially problematic if you include someone else's library that depends on binary read/write. If you enable "magic_quotes_runtime", be sure to use set_magic_quotes_runtime() function call to disable it before calling someone else's library that does binary read/write.
3 of 3
3/3/2010 7:04 AM