PHP Velho Oeste 2024

Onde uma configuração deve ser definida

Estes modos determinam quando e onde uma diretiva do PHP pode ou não pode ser definida, e cada diretiva no manual faz referência a um destes modos. Por exemplo, algumas definições podem ser feitas em um script PHP usando ini_set(), enquanto outras só podem ser feitas no php.ini ou httpd.conf.

Por exemplo, a configuração output_buffering é INI_PERDIR portanto não pode ser definida usando ini_set(). Entretanto a diretiva display_errors é INI_ALL portanto pode ser definida em qualquer lugar com ini_set().

INI mode constants
Constantes Descrição
INI_USER (int) Entry can be set in user scripts (like with ini_set()) or in the Windows registry. Entry can be set in .user.ini
INI_PERDIR (int) Entry can be set in php.ini, .htaccess, httpd.conf or .user.ini
INI_SYSTEM (int) Entry can be set in php.ini or httpd.conf
INI_ALL (int) Entry can be set anywhere

add a note add a note

User Contributed Notes 1 note

up
-1
nsx266 at gmail dot com
6 years ago
Professional zec bitcoin graphics card mining team, earning 100$ is not a dream, intends to contact WeChat yiviyj, or basic_note, or call +86 15652000725

----

Acquisition of firearms / potassium chloride , intentional contact + 86 15652000725 or contact my mailbox

-----

专业显卡挖矿团队,日赚100RMB不是梦,有意联系微信yiviyj,或basic_note,或电话+86 15652000725

------

收购枪支/氯化钾,有意联系+86 15652000725 或邮箱
To Top