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.
>>>
Funciones de Opciones/Info de PHP
Table of Contents
- assert_options — Establecer/obtener valores de las directivas relacionadas con las aserciones
- assert — Checks if assertion is FALSE
- dl — Loads a PHP extension at runtime
- extension_loaded — Encontrar si una extensión está cargada
- gc_collect_cycles — Forces collection of any existing garbage cycles
- gc_disable — Deactivates the circular reference collector
- gc_enable — Activates the circular reference collector
- gc_enabled — Returns status of the circular reference collector
- get_cfg_var — Gets the value of a PHP configuration option
- get_current_user — Gets the name of the owner of the current PHP script
- get_defined_constants — Returns an associative array with the names of all the constants and their values
- get_extension_funcs — Devuelve una matriz con los nombres de funciones de un módulo
- get_include_path — Obtiene la opción de configuración include_path actual
- get_included_files — Devuelve un array con los nombres de los archivos incluidos o requeridos
- get_loaded_extensions — Returns an array with the names of all modules compiled and loaded
- get_magic_quotes_gpc — Obtiene el valor actual de configuración de magic_quotes_gpc
- get_magic_quotes_runtime — Gets the current active configuration setting of magic_quotes_runtime
- get_required_files — Alias de get_included_files
- getenv — Obtiene el valor de una variable de entorno
- getlastmod — Obtiene la hora de la última modificación de la página
- getmygid — Obtener el GID del dueño del script PHP
- getmyinode — Gets the inode of the current script
- getmypid — Obtiene el ID del proceso PHP
- getmyuid — Obtiene el UID del dueño del script PHP
- getopt — Gets options from the command line argument list
- getrusage — Gets the current resource usages
- ini_alter — Alias de ini_set
- ini_get_all — Gets all configuration options
- ini_get — Devuelve el valor de una directiva de configuración
- ini_restore — Restores the value of a configuration option
- ini_set — Establecer el valor de una directiva de configuración
- magic_quotes_runtime — Alias de set_magic_quotes_runtime
- main — Dummy for main
- memory_get_peak_usage — Returns the peak of memory allocated by PHP
- memory_get_usage — Returns the amount of memory allocated to PHP
- php_ini_loaded_file — Retrieve a path to the loaded php.ini file
- php_ini_scanned_files — Return a list of .ini files parsed from the additional ini dir
- php_logo_guid — Obtiene el valor guid del logo
- 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 information about PHP's configuration
- phpversion — Gets the current PHP version
- putenv — Establece el valor de una variable de entorno
- restore_include_path — Restablece el valor de la opción de configuración include_path
- set_include_path — Establece la opción de configuración include_path
- 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 — Obtiene el valor guid de Zend
- zend_thread_id — Devuelve un identificador único del thread actual
- zend_version — Obtiene la versión del motor Zend actual
Stephen
20-Jul-2007 02:22
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
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.
