Forum und email

Directivas de php.ini

Table of Contents

Lista de directivas de php.ini

Esta lista incluye las directivas de php.ini que puede definir para configurar su instalación de PHP.

Opciones de configuración
Nombre Predeterminado Modificable Cambios
allow_call_time_pass_reference "1" PHP_INI_PERDIR PHP_INI_ALL en PHP <= 4.0.0. Eliminada en PHP 6.0.0.
allow_url_fopen "1" PHP_INI_ALL PHP_INI_ALL en PHP <= 4.3.4. PHP_INI_SYSTEM en PHP < 6. Disponible a partir de PHP 4.0.4.
allow_url_include "0" PHP_INI_ALL PHP_INI_SYSTEM en PHP 5. Disponible a partir de PHP 5.2.0.
always_populate_raw_post_data "0" PHP_INI_PERDIR PHP_INI_ALL en PHP <= 4.2.3. Disponible a partir de PHP 4.1.0.
apc.cache_by_default "1" PHP_INI_ALL PHP_INI_SYSTEM in APC <= 3.0.12. Disponible desde APC 3.0.0.
apc.enabled "1" PHP_INI_SYSTEM PHP_INI_SYSTEM en APC 2. PHP_INI_ALL en APC <= 3.0.12.
apc.enable_cli "0" PHP_INI_SYSTEM Disponible desde APC 3.0.7.
apc.file_update_protection "2" PHP_INI_SYSTEM Disponible desde APC 3.0.6.
apc.filters NULL PHP_INI_SYSTEM  
apc.gc_ttl "3600" PHP_INI_SYSTEM  
apc.include_once_override "0" PHP_INI_SYSTEM Disponible desde APC 3.0.12.
apc.localcache "0" PHP_INI_SYSTEM Disponible desde APC 3.0.14.
apc.localcache.size "512" PHP_INI_SYSTEM Disponible desde APC 3.0.14.
apc.max_file_size "1M" PHP_INI_SYSTEM Disponible desde APC 3.0.7.
apc.mmap_file_mask NULL PHP_INI_SYSTEM  
apc.num_files_hint "1000" PHP_INI_SYSTEM  
apc.optimization "0" PHP_INI_ALL PHP_INI_SYSTEM in APC 2. Eliminada en APC 3.0.13.
apc.report_autofilter "0" PHP_INI_SYSTEM Disponible desde APC 3.0.11.
apc.rfc1867 "0" PHP_INI_SYSTEM Disponible desde APC 3.0.13.
apc.rfc1867_freq "0" PHP_INI_SYSTEM  
apc.rfc1867_name "APC_UPLOAD_PROGRESS" PHP_INI_SYSTEM  
apc.rfc1867_prefix "upload_" PHP_INI_SYSTEM  
apc.shm_segments "1" PHP_INI_SYSTEM  
apc.shm_size "30" PHP_INI_SYSTEM  
apc.slam_defense "0" PHP_INI_SYSTEM Disponible desde APC 3.0.0.
apc.stat "1" PHP_INI_SYSTEM Disponible desde APC 3.0.10.
apc.stat_ctime "0" PHP_INI_SYSTEM Disponible desde APC 3.0.13.
apc.ttl "0" PHP_INI_SYSTEM Disponible desde APC 3.0.0.
apc.user_entries_hint "4096" PHP_INI_SYSTEM Disponible desde APC 3.0.0.
apc.user_ttl "0" PHP_INI_SYSTEM Disponible desde APC 3.0.0.
apc.write_lock "1" PHP_INI_SYSTEM Disponible desde APC 3.0.11.
apd.bitmask "0" PHP_INI_ALL Eliminada en apd 0.9.
apd.dumpdir NULL PHP_INI_ALL  
apd.statement_tracing "0" PHP_INI_ALL Disponible desde apd 0.9.
arg_separator "&" PHP_INI_ALL Eliminada en PHP 4.0.6.
arg_separator.input "&" PHP_INI_PERDIR Disponible a partir de PHP 4.0.5.
arg_separator.output "&" PHP_INI_ALL Disponible a partir de PHP 4.0.5.
asp_tags "0" PHP_INI_PERDIR PHP_INI_ALL en PHP <= 4.0.0.
assert.active "1" PHP_INI_ALL  
assert.bail "0" PHP_INI_ALL  
assert.callback NULL PHP_INI_ALL  
assert.quiet_eval "0" PHP_INI_ALL  
assert.warning "1" PHP_INI_ALL  
async_send "0" PHP_INI_ALL Disponible desde PHP 4.2.0. Eliminada en PHP 4.3.0.
auto_append_file NULL PHP_INI_PERDIR PHP_INI_ALL en PHP <= 4.2.3.
auto_detect_line_endings "0" PHP_INI_ALL Disponible a partir de PHP 4.3.0.
auto_globals_jit "1" PHP_INI_PERDIR Disponible a partir de PHP 5.0.0.
auto_prepend_file NULL PHP_INI_PERDIR PHP_INI_ALL en PHP <= 4.2.3.
axis2.client_home "~/work/axisc/c/deply" PHP_INI_ALL  
axis2.enable_exception "1" PHP_INI_ALL  
axis2.enable_trace "1" PHP_INI_ALL  
axis2.log_path "/tmp" PHP_INI_ALL  
bcmath.scale "0" PHP_INI_ALL  
bcompiler.enabled "1" PHP_INI_ALL Available since bcompiler 0.8.
birdstep.max_links "-1" PHP_INI_ALL Disponible desde PHP 4.2.0.
blenc.key_file "/usr/local/etc/blenckeys" PHP_INI_ALL  
browscap NULL PHP_INI_SYSTEM  
cgi.check_shebang_line "1" PHP_INI_SYSTEM Disponible desde PHP 5.2.1.
cgi.discard_path "0" PHP_INI_SYSTEM Disponible desde PHP 5.3.0.
cgi.fix_pathinfo "1" PHP_INI_SYSTEM PHP_INI_ALL en PHP <= 5.2.0. Disponible desde PHP 4.3.0.
cgi.force_redirect "1" PHP_INI_SYSTEM PHP_INI_ALL en PHP <= 5.2.0. Disponible desde PHP 4.2.0.
cgi.nph "0" PHP_INI_ALL Disponible desde PHP 4.3.5.
cgi.redirect_status_env NULL PHP_INI_SYSTEM PHP_INI_ALL en PHP <= 5.2.0. Disponible desde PHP 4.2.0.
cgi.rfc2616_headers "0" PHP_INI_ALL Disponible desde PHP 4.3.0.
child_terminate "0" PHP_INI_ALL Disponible a partir de PHP 4.0.5.
coin_acceptor.autoreset "On" PHP_INI_ALL Eliminada en coin_acceptor 0.2.
coin_acceptor.auto_initialize "Off" PHP_INI_ALL Disponible desde coin_acceptor 0.2.
coin_acceptor.auto_reset "On" PHP_INI_ALL Disponible desde coin_acceptor 0.2.
coin_acceptor.command_function "Off" PHP_INI_ALL Disponible desde coin_acceptor 0.3.
coin_acceptor.delay "53132" PHP_INI_ALL Eliminada en coin_acceptor 0.2.
coin_acceptor.delay_coins "53132" PHP_INI_ALL Disponible desde coin_acceptor 0.2.
coin_acceptor.delay_prom "55748" PHP_INI_ALL Disponible desde coin_acceptor 0.2.
coin_acceptor.device "/dev/ttyS1" PHP_INI_ALL Eliminada en coin_acceptor 0.2.
coin_acceptor.lock_on_close "Off" PHP_INI_ALL Disponible desde coin_acceptor 0.2.
coin_acceptor.start_unlocked "On" PHP_INI_ALL Disponible desde coin_acceptor 0.2.
com.allow_dcom "0" PHP_INI_SYSTEM Disponible a partir de PHP 4.0.5.
com.autoregister_casesensitive "1" PHP_INI_ALL PHP_INI_SYSTEM en PHP 4. Disponible a partir de PHP 4.1.0.
com.autoregister_typelib "0" PHP_INI_ALL PHP_INI_SYSTEM en PHP 4. Disponible a partir de PHP 4.1.0.
com.autoregister_verbose "0" PHP_INI_ALL PHP_INI_SYSTEM en PHP 4. Disponible a partir de PHP 4.1.0.
com.code_page "" PHP_INI_ALL Disponible a partir de PHP 5.0.0.
com.typelib_file "" PHP_INI_SYSTEM Disponible a partir de PHP 4.0.5.
crack.default_dictionary NULL PHP_INI_PERDIR PHP_INI_SYSTEM en crack <= 0.2. Disponible a partir de PHP 4.0.5. Eliminada en PHP 5.0.0.
daffodildb.default_host "localhost" PHP_INI_ALL  
daffodildb.default_password "daffodil" PHP_INI_ALL  
daffodildb.default_socket NULL PHP_INI_ALL  
daffodildb.default_user "DAFFODIL" PHP_INI_ALL  
daffodildb.port "3456" PHP_INI_ALL  
date.default_latitude "31.7667" PHP_INI_ALL Disponible a partir de PHP 5.0.0.
date.default_longitude "35.2333" PHP_INI_ALL Disponible a partir de PHP 5.0.0.
date.sunrise_zenith "90.583333" PHP_INI_ALL Disponible a partir de PHP 5.0.0.
date.sunset_zenith "90.583333" PHP_INI_ALL Disponible a partir de PHP 5.0.0.
date.timezone "" PHP_INI_ALL Disponible a partir de PHP 5.1.0.
dba.default_handler "" PHP_INI_ALL Disponible a partir de PHP 4.3.3.
dbx.colnames_case "unchanged" PHP_INI_SYSTEM Disponible a partir de PHP 4.3.0. Eliminada en PHP 5.1.0.
default_charset "" PHP_INI_ALL  
default_mimetype "text/html" PHP_INI_ALL  
default_socket_timeout "60" PHP_INI_ALL Disponible a partir de PHP 4.3.0.
define_syslog_variables "0" PHP_INI_ALL  
detect_unicode "1" PHP_INI_ALL Disponible desde PHP 5.1.0. Eliminada en PHP 6.0.0.
disable_classes "" Solo en php.ini Disponible a partir de PHP 4.3.2.
disable_functions "" Solo en php.ini Disponible a partir de PHP 4.0.1.
display_errors "1" PHP_INI_ALL  
display_startup_errors "0" PHP_INI_ALL Disponible a partir de PHP 4.0.3.
docref_ext "" PHP_INI_ALL Disponible a partir de PHP 4.3.2.
docref_root "" PHP_INI_ALL Disponible a partir de PHP 4.3.0.
doc_root NULL PHP_INI_SYSTEM  
enable_dl "1" PHP_INI_SYSTEM Eliminada en PHP 6.0.0.
engine "1" PHP_INI_ALL Disponible a partir de PHP 4.0.5.
error_append_string NULL PHP_INI_ALL  
error_log NULL PHP_INI_ALL  
error_prepend_string NULL PHP_INI_ALL  
error_reporting NULL PHP_INI_ALL  
etpan.default.charset "utf-8" PHP_INI_ALL  
etpan.default.protocol "imap" PHP_INI_ALL  
exif.decode_jis_intel "JIS" PHP_INI_ALL Disponible a partir de PHP 4.3.0.
exif.decode_jis_motorola "JIS" PHP_INI_ALL Disponible a partir de PHP 4.3.0.
exif.decode_unicode_intel "UCS-2LE" PHP_INI_ALL Disponible a partir de PHP 4.3.0.
exif.decode_unicode_motorola "UCS-2BE" PHP_INI_ALL Disponible a partir de PHP 4.3.0.
exif.encode_jis "" PHP_INI_ALL Disponible a partir de PHP 4.3.0.
exif.encode_unicode "ISO-8859-15" PHP_INI_ALL Disponible a partir de PHP 4.3.0.
expect.logfile "" PHP_INI_ALL  
expect.loguser "1" PHP_INI_ALL  
expect.timeout "10" PHP_INI_ALL  
expose_php "1" Solo en php.ini  
extension_dir "/path/to/php" PHP_INI_SYSTEM  
fastcgi.impersonate "0" PHP_INI_SYSTEM PHP_INI_ALL en PHP <= 5.2.0. Disponible desde PHP 4.3.0.
fastcgi.logging "1" PHP_INI_SYSTEM PHP_INI_ALL en PHP <= 5.2.0. Disponible desde PHP 4.4.0. Eliminada en PHP 5.0.0.
fbsql.allow_persistant "1" PHP_INI_SYSTEM Disponible desde PHP 4.0.6. Eliminada en PHP 4.2.0.
fbsql.allow_persistent "1" PHP_INI_SYSTEM Disponible a partir de PHP 4.2.0.
fbsql.autocommit "1" PHP_INI_SYSTEM Disponible a partir de PHP 4.0.6.
fbsql.batchSize "1000" PHP_INI_SYSTEM Disponible desde PHP 4.2.0. Eliminada en PHP 5.1.0.
fbsql.batchsize "1000" PHP_INI_ALL Disponible a partir de PHP 5.1.0.
fbsql.default_database "" PHP_INI_SYSTEM Disponible a partir de PHP 4.0.6.
fbsql.default_database_password "" PHP_INI_SYSTEM Disponible a partir de PHP 4.0.6.
fbsql.default_host NULL PHP_INI_SYSTEM Disponible a partir de PHP 4.0.6.
fbsql.default_password "" PHP_INI_SYSTEM Disponible a partir de PHP 4.0.6.
fbsql.default_user "_SYSTEM" PHP_INI_SYSTEM Disponible a partir de PHP 4.0.6.
fbsql.generate_warnings "0" PHP_INI_SYSTEM Disponible a partir de PHP 4.0.6.
fbsql.max_connections "128" PHP_INI_SYSTEM Disponible a partir de PHP 4.0.6.
fbsql.max_links "128" PHP_INI_SYSTEM Disponible a partir de PHP 4.0.6.
fbsql.max_persistent "-1" PHP_INI_SYSTEM Disponible a partir de PHP 4.0.6.
fbsql.max_results "128" PHP_INI_SYSTEM Disponible a partir de PHP 4.0.6.
fbsql.mbatchSize "1000" PHP_INI_SYSTEM Disponible desde PHP 4.0.6. Eliminada en PHP 4.2.0.
fbsql.show_timestamp_decimals "0" PHP_INI_SYSTEM Disponible desde PHP 5.1.5.
file_uploads "1" PHP_INI_SYSTEM PHP_INI_ALL en PHP <= 4.2.3. Disponible a partir de PHP 4.0.3.
filter.default "unsafe_raw" PHP_INI_PERDIR PHP_INI_ALL en filter <= 0.9.4. Disponible desde PHP 5.2.0.
filter.default_flags NULL PHP_INI_PERDIR PHP_INI_ALL en filter <= 0.9.4. Disponible desde PHP 5.2.0.
from "" PHP_INI_ALL  
gd.jpeg_ignore_warning "0" PHP_INI_ALL Disponible desde PHP 5.1.3.
geoip.custom_directory NULL PHP_INI_ALL Disponible desde geoip 1.0.1.
geoip.database_standard "GeoIP.dat" PHP_INI_ALL Eliminada en geoip 1.0.1.
gpc_order "GPC" PHP_INI_ALL Eliminada en PHP 5.0.0.
hidef.ini_path (char*)default_ini_path PHP_INI_SYSTEM  
highlight.bg "#FFFFFF" PHP_INI_ALL Eliminada en PHP 6.0.0.
highlight.comment "#FF8000" PHP_INI_ALL  
highlight.default "#0000BB" PHP_INI_ALL  
highlight.html "#000000" PHP_INI_ALL  
highlight.keyword "#007700" PHP_INI_ALL  
highlight.string "#DD0000" PHP_INI_ALL  
html_errors "1" PHP_INI_ALL PHP_INI_SYSTEM en PHP <= 4.2.3. Disponible a partir de PHP 4.0.2.
htscanner.config_file ".htaccess" PHP_INI_SYSTEM  
htscanner.default_docroot "/" PHP_INI_SYSTEM  
htscanner.default_ttl "300" PHP_INI_SYSTEM Disponible desde htscanner 0.6.0.
htscanner.stop_on_error "0" PHP_INI_SYSTEM Disponible desde htscanner 0.7.0.
http.allowed_methods "" PHP_INI_ALL Disponible desde pecl_http 0.4.0. Eliminada en pecl_http 1.0.0.
http.allowed_methods_log "" PHP_INI_ALL Disponible desde pecl_http 0.12.0. Eliminada en pecl_http 1.0.0.
http.cache_log "" PHP_INI_ALL Disponible desde pecl_http 0.8.0. Eliminada en pecl_http 1.0.0.
http.composite_log "" PHP_INI_ALL Disponible desde pecl_http 0.12.0. Eliminada en pecl_http 1.0.0.
http.etag.mode "MD5" PHP_INI_ALL Disponible desde pecl_http 1.0.0.
http.etag_mode "MD5" PHP_INI_ALL Disponible desde pecl_http 0.12.0. Eliminada en pecl_http 1.0.0.
http.force_exit "1" PHP_INI_ALL Disponible desde pecl_http 0.18.0.
http.log.allowed_methods "" PHP_INI_ALL Disponible desde pecl_http 1.0.0.
http.log.cache "" PHP_INI_ALL Disponible desde pecl_http 1.0.0.
http.log.composite "" PHP_INI_ALL Disponible desde pecl_http 1.0.0.
http.log.not_found "" PHP_INI_ALL Disponible desde pecl_http 1.0.0.
http.log.redirect "" PHP_INI_ALL Disponible desde pecl_http 1.0.0.
http.ob_deflate_auto "0" PHP_INI_PERDIR Disponible desde pecl_http 0.21.0. Eliminada en pecl_http 1.0.0.
http.ob_deflate_flags "0" PHP_INI_ALL Disponible desde pecl_http 0.21.0. Eliminada en pecl_http 1.0.0.
http.ob_inflate_auto "0" PHP_INI_PERDIR Disponible desde pecl_http 0.21.0. Eliminada en pecl_http 1.0.0.
http.ob_inflate_flags "0" PHP_INI_ALL Disponible desde pecl_http 0.21.0. Eliminada en pecl_http 1.0.0.
http.only_exceptions "0" PHP_INI_ALL Disponible desde pecl_http 0.11.0.
http.persistent.handles.ident "GLOBAL" PHP_INI_ALL Disponible desde pecl_http 1.5.0.
http.persistent.handles.limit "-1" PHP_INI_SYSTEM Disponible desde pecl_http 1.5.0.
http.redirect_log "" PHP_INI_ALL Disponible desde pecl_http 0.12.0. Eliminada en pecl_http 1.0.0.
http.request.datashare.connect "0" PHP_INI_SYSTEM Disponible desde pecl_http 1.3.0.
http.request.datashare.cookie "0" PHP_INI_SYSTEM Disponible desde pecl_http 1.3.0.
http.request.datashare.dns "1" PHP_INI_SYSTEM Disponible desde pecl_http 1.3.0.
http.request.datashare.ssl "0" PHP_INI_SYSTEM Disponible desde pecl_http 1.3.0.
http.request.methods.allowed "" PHP_INI_ALL Disponible desde pecl_http 1.0.0.
http.request.methods.custom "" PHP_INI_PERDIR Disponible desde pecl_http 1.0.0.
http.send.deflate.start_auto "0" PHP_INI_PERDIR Disponible desde pecl_http 1.0.0.
http.send.deflate.start_flags "0" PHP_INI_ALL Disponible desde pecl_http 1.0.0.
http.send.inflate.start_auto "0" PHP_INI_PERDIR Disponible desde pecl_http 1.0.0.
http.send.inflate.start_flags "0" PHP_INI_ALL Disponible desde pecl_http 1.0.0.
http.send.not_found_404 "1" PHP_INI_ALL Disponible desde pecl_http 1.0.0.
hyerwave.allow_persistent "0" PHP_INI_SYSTEM Eliminada en PHP 4.3.2.
hyperwave.allo