Manuel PHP

Table des matières

Préface
I. Au moment de commencer
II. Installation et configuration
III. Référence du langage
IV. Sécurité
V. Caractéristiques
VI. Référence des fonctions
VII. PHP et le moteur interne Zend
VIII. FAQ : foire Aux Questions
IX. Annexes
Remerciements



Annexe G. Directives du "php.ini"

Liste des directives du "php.ini"

Cette liste inclut les directives du “php.ini” que vous pouvez définir pour configurer votre installation de PHP.

Tableau G-1. Options de configuration

Nom Par défaut Modifiable Historique
apc.max_file_size “1M” PHP_INI_SYSTEM
apc.user_entries_hint “100” PHP_INI_SYSTEM
apc.user_ttl “0” PHP_INI_SYSTEM
apd.statement_tracing “0” PHP_INI_ALL
bcompiler.enabled “1” PHP_INI_ALL
birdstep.max_links “-1” PHP_INI_ALL Disponible depuis PHP 4.2.0.
blenc.key_file “/usr/local/etc/blenckeys” PHP_INI_ALL
cgi.discard_path “0” PHP_INI_ALL Disponible depuis PHP 6.0.0.
cgi.nph “0” PHP_INI_ALL Disponible depuis PHP 4.3.5.
crack.default_dictionary NULL PHP_INI_PERDIR Disponible depuis PHP 4.0.5.
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
dba.default_handler “” PHP_INI_ALL Disponible depuis PHP 4.3.3.
fastcgi.logging “1” PHP_INI_ALL Disponible depuis PHP 4.4.0.
fbsql.allow_persistent “1” PHP_INI_SYSTEM Disponible depuis PHP 4.2.0.
fbsql.autocommit “1” PHP_INI_SYSTEM Disponible depuis PHP 4.0.6.
fbsql.batchsize “1000” PHP_INI_ALL Disponible depuis PHP 5.1.0.
fbsql.default_database “” PHP_INI_SYSTEM Disponible depuis PHP 4.0.6.
fbsql.default_database_password “” PHP_INI_SYSTEM Disponible depuis PHP 4.0.6.
fbsql.default_host NULL PHP_INI_SYSTEM Disponible depuis PHP 4.0.6.
fbsql.default_password “” PHP_INI_SYSTEM Disponible depuis PHP 4.0.6.
fbsql.default_user “_SYSTEM” PHP_INI_SYSTEM Disponible depuis PHP 4.0.6.
fbsql.generate_warnings “0” PHP_INI_SYSTEM Disponible depuis PHP 4.0.6.
fbsql.max_connections “128” PHP_INI_SYSTEM Disponible depuis PHP 4.0.6.
fbsql.max_links “128” PHP_INI_SYSTEM Disponible depuis PHP 4.0.6.
fbsql.max_persistent “-1” PHP_INI_SYSTEM Disponible depuis PHP 4.0.6.
fbsql.max_results “128” PHP_INI_SYSTEM Disponible depuis PHP 4.0.6.
filter.default “string” PHP_INI_ALL
filter.default_flags NULL PHP_INI_ALL
http.allowed_methods “” PHP_INI_ALL
http.allowed_methods_log “” PHP_INI_ALL
http.cache_log “” PHP_INI_ALL
http.composite_log “” PHP_INI_ALL
http.etag_mode “MD5” PHP_INI_ALL
http.force_exit “1” PHP_INI_ALL
http.ob_deflate_auto “0” PHP_INI_PERDIR
http.ob_deflate_flags “0” PHP_INI_ALL
http.ob_inflate_auto “0” PHP_INI_PERDIR
http.ob_inflate_flags “0” PHP_INI_ALL
http.only_exceptions “0” PHP_INI_ALL
http.redirect_log “” PHP_INI_ALL
hyperwave.allow_persistent “0” PHP_INI_SYSTEM Disponible depuis PHP 4.3.2.
hyperwave.default_port “418” PHP_INI_ALL
iconv.input_encoding ISO-8859-1” PHP_INI_ALL Disponible depuis PHP 4.0.5.
iconv.internal_encoding ISO-8859-1” PHP_INI_ALL Disponible depuis PHP 4.0.5.
iconv.output_encoding ISO-8859-1” PHP_INI_ALL Disponible depuis PHP 4.0.5.
ingres.allow_persistent “1” PHP_INI_SYSTEM Disponible depuis PHP 4.0.2.
ingres.blob_segment_length “4096” PHP_INI_ALL
ingres.cursor_mode “0” PHP_INI_ALL
ingres.default_database NULL PHP_INI_ALL Disponible depuis PHP 4.0.2.
ingres.default_password NULL PHP_INI_ALL Disponible depuis PHP 4.0.2.
ingres.default_user NULL PHP_INI_ALL Disponible depuis PHP 4.0.2.
ingres.max_links “-1” PHP_INI_SYSTEM Disponible depuis PHP 4.0.2.
ingres.max_persistent “-1” PHP_INI_SYSTEM Disponible depuis PHP 4.0.2.
ingres.report_db_warnings “1” PHP_INI_ALL
ingres.timeout “-1” PHP_INI_ALL
ingres.trace_connect “0” PHP_INI_ALL
ircg.control_user “nobody” PHP_INI_ALL Disponible depuis PHP 5.0.0.
ircg.keep_alive_interval “60” PHP_INI_ALL Disponible depuis PHP 5.0.0.
ircg.max_format_message_sets “12” PHP_INI_ALL Disponible depuis PHP 5.0.0.
ircg.shared_mem_size “6000000” PHP_INI_ALL Disponible depuis PHP 5.0.0.
ircg.work_dir “/tmp/ircg” PHP_INI_ALL Disponible depuis PHP 5.0.0.
ldap.max_links “-1” PHP_INI_SYSTEM
mail.force_extra_parameters NULL PHP_INI_PERDIR Disponible depuis PHP 5.0.0.
mailparse.def_charset “us-ascii” PHP_INI_ALL Disponible depuis PHP 4.1.0.
mbstring.script_encoding NULL PHP_INI_ALL Disponible depuis PHP 4.3.0.
mbstring.strict_detection “0” PHP_INI_ALL Disponible depuis PHP 5.1.2.
mcrypt.algorithms_dir NULL PHP_INI_ALL Disponible depuis PHP 4.0.2.
mcrypt.modes_dir NULL PHP_INI_ALL Disponible depuis PHP 4.0.2.
mssql.allow_persistent “1” PHP_INI_SYSTEM
mssql.batchsize “0” PHP_INI_ALL Disponible depuis PHP 4.0.4.
mssql.charset “” PHP_INI_ALL Disponible depuis PHP 5.1.2.
mssql.compatability_mode “0” PHP_INI_ALL
mssql.connect_timeout “5” PHP_INI_ALL
mssql.datetimeconvert “1” PHP_INI_ALL Disponible depuis PHP 4.2.0.
mssql.max_links “-1” PHP_INI_SYSTEM
mssql.max_persistent “-1” PHP_INI_SYSTEM
mssql.max_procs “-1” PHP_INI_ALL Disponible depuis PHP 4.3.0.
mssql.min_error_severity “10” PHP_INI_ALL
mssql.min_message_severity “10” PHP_INI_ALL
mssql.secure_connection “0” PHP_INI_SYSTEM Disponible depuis PHP 4.3.0.
mssql.textlimit “-1” PHP_INI_ALL
mssql.textsize “-1” PHP_INI_ALL
mssql.timeout “60” PHP_INI_ALL Disponible depuis PHP 4.1.0.
mysqli.reconnect “0” PHP_INI_SYSTEM Disponible depuis PHP 5.0.0.
namazu.debugmode “0” PHP_INI_ALL
namazu.lang NULL PHP_INI_ALL
namazu.loggingmode “0” PHP_INI_ALL
namazu.sortmethod NULL PHP_INI_ALL
namazu.sortorder NULL PHP_INI_ALL
opendirectory.max_refs “-1” PHP_INI_ALL
opendirectory.separator “/” PHP_INI_ALL
oracle.allow_persistent “-1” PHP_INI_ALL
oracle.max_links “-1” PHP_INI_ALL
oracle.max_persistent “-1” PHP_INI_ALL
pfpro.defaulthost “test-payflow.verisign.com” PHP_INI_ALL Disponible depuis PHP 4.0.2.
pfpro.defaultport “443” PHP_INI_ALL Disponible depuis PHP 4.0.2.
pfpro.defaulttimeout “30” PHP_INI_ALL Disponible depuis PHP 4.0.2.
pfpro.proxyaddress “” PHP_INI_ALL Disponible depuis PHP 4.0.2.
pfpro.proxylogon “” PHP_INI_ALL Disponible depuis PHP 4.0.2.
pfpro.proxypassword “” PHP_INI_ALL Disponible depuis PHP 4.0.2.
pfpro.proxyport “” PHP_INI_ALL Disponible depuis PHP 4.0.2.
printer.default_printer “” PHP_INI_ALL
realpath_cache_size “16K” PHP_INI_SYSTEM Disponible depuis PHP 5.1.0.
realpath_cache_ttl “120” PHP_INI_SYSTEM Disponible depuis PHP 5.1.0.
report_zend_debug “1” PHP_INI_ALL Disponible depuis PHP 5.0.0.
runkit.internal_override “0” PHP_INI_SYSTEM
serialize_precision “100” PHP_INI_ALL Disponible depuis PHP 4.3.2.
session_pgsql.create_table “1” PHP_INI_SYSTEM
session_pgsql.db “host=localhost dbname=php_session user=nobody” PHP_INI_SYSTEM
session_pgsql.disable “0” PHP_INI_SYSTEM
session_pgsql.failover_mode “0” PHP_INI_SYSTEM
session_pgsql.gc_interval “3600” PHP_INI_SYSTEM
session_pgsql.keep_expired “0” PHP_INI_SYSTEM
session_pgsql.sem_file_name “/tmp/php_session_pgsql” PHP_INI_SYSTEM
session_pgsql.serializable “0” PHP_INI_SYSTEM
session_pgsql.short_circuit “0” PHP_INI_SYSTEM
session_pgsql.use_app_vars “0” PHP_INI_SYSTEM
session_pgsql.vacuum_interval “21600” PHP_INI_SYSTEM
simple_cvs.authMethod “0” PHP_INI_ALL
simple_cvs.compressionLevel “0” PHP_INI_ALL
simple_cvs.cvsRoot “0” PHP_INI_ALL
simple_cvs.host “0” PHP_INI_ALL
simple_cvs.moduleName “0” PHP_INI_ALL
simple_cvs.userName “0” PHP_INI_ALL
simple_cvs.workingDir “0” PHP_INI_ALL
sybase.interface_file “” PHP_INI_ALL
sybct.packet_size “0” PHP_INI_ALL Disponible depuis PHP 4.3.5.
sysvshm.init_mem “10000” PHP_INI_ALL
unicode.fallback_encoding NULL PHP_INI_ALL Disponible depuis PHP 6.0.0.
unicode.from_error_mode “2” PHP_INI_ALL Disponible depuis PHP 6.0.0.
unicode.from_error_subst_char “3f” PHP_INI_ALL Disponible depuis PHP 6.0.0.
unicode.http_input_encoding NULL PHP_INI_ALL Disponible depuis PHP 6.0.0.
unicode.runtime_encoding NULL PHP_INI_ALL Disponible depuis PHP 6.0.0.
unicode.script_encoding NULL PHP_INI_ALL Disponible depuis PHP 6.0.0.
unicode_semantics “off” PHP_INI_PERDIR Disponible depuis PHP 6.0.0.
unserialize_callback_func NULL PHP_INI_ALL Disponible depuis PHP 4.2.0.
valkyrie.auto_validate “0” PHP_INI_ALL
valkyrie.config_path NULL PHP_INI_ALL
xmlrpc_errors “0” PHP_INI_SYSTEM Disponible depuis PHP 4.1.0.
xmlrpc_error_number “0” PHP_INI_ALL Disponible depuis PHP 4.1.0.
xmms.path “/usr/bin/xmms” PHP_INI_ALL
xmms.session “0” PHP_INI_ALL
yaz.keepalive “120” PHP_INI_ALL
yaz.log_file NULL PHP_INI_ALL Disponible depuis PHP 4.3.0.
yaz.max_links “100” PHP_INI_ALL Disponible depuis PHP 4.3.0.

Tableau G-2. Définition des constantes du PHP_INI_*

Constante Valeur Signification
PHP_INI_PERDIR 2 Les entrées peuvent être définies dans le “php.ini”, un “.htaccess” ou le “httpd.conf”
PHP_INI_SYSTEM 4 Les entrées peuvent être définies dans le “php.ini” ou le “httpd.conf”
PHP_INI_ALL 7 Les entrées peuvent être définies n’importe où.

Travail collaboratif

Contribuez, en ajjoutant des elements a cette page de manuel :

Merci de votre aide
L’equipe Php.fr

 


Index | Afficher le texte source | Anciennes révisions | Derniers changements | Connexion
©2007 Wiki Copyright