PHP will load all files in /usr/local/etc/php.d/*.ini, then $ PHP_INI_SCAN_DIR=/usr/local/etc/php.d: php usr/local/etc/php.d/*.ini as configuration files. PHP will load all files in /etc/php.d/*.ini, then $ PHP_INI_SCAN_DIR=:/usr/local/etc/php.d php PHP will load all files in /usr/local/etc/php.d/*.ini as $ PHP_INI_SCAN_DIR=/usr/local/etc/php.d php PHP will load all files in /etc/php.d/*.ini as configuration files. What order, is available by calling php_ini_scanned_files(), or by running PHP with the -ini option.Īssuming PHP is configured with -with-config-file-scan-dir=/etc/php.d, A list of the files that were loaded, and in Within each directory, PHP will scan all files ending in. If a blank directory is given in PHP_INI_SCAN_DIR, PHP will also scan the directory given at compile time via -with-config-file-scan-dir. Platform-specific path separator ( on Windows, NetWare and RISC OS : on all other platforms the value PHP is using is available as the PATH_SEPARATOR constant). It is possible to scan multiple directories by separating them with the The scan directory can then be overridden at run time by setting the PHP_INI_SCAN_DIR environment variable. This can be done at compile time by setting the -with-config-file-scan-dir option. ini files in a directory after reading php.ini. It is possible to configure PHP to scan for. backslashes are treated the same as any other character you can enclose strings in double-quotes section markers (text within square brackets) are also ignored any text on a line after an unquoted semicolon ( ) is ignored Alternatively, you may find » the latest php.ini from Git helpful too. Manual: for a complete list of directives available in your PHP version, please read your well commented php.ini file. Not all PHP directives are necessarily documented in this A list of the core directives is available in the appendix. The php.ini directives handled by extensions are documented on the respective pages of the extensions themselves. PHP_MEMORY_LIMIT is taken from environment Variables can be used in php.ini as shown below. The Apache web server changes the directory to root at startup, causing PHP to attempt to read php.ini from the root filesystem if it exists. The SAPI name can be determined with php_sapi_name(). Php-cli.ini or php-apache.ini), it is used instead of php.ini. If php-SAPI.ini exists (where SAPI is the SAPI in use, so, for example,
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |