You can use the ini_set() function to set a directive's value in your scripts provided the "CHANGEABLE" attribute in the above chart is PHP_INI_USER or PHP_INI_ALL.
Zoznam php.ini direktív jadra
Table of Contents
- Voľby jazyka
- Limity zdroja
- Spracovanie dát
- Cesty a Adresáre
- Uploady Súborov
- Všeobecné SQL
- Konfiguračné Direktívy Debuggera
Tento zoznam zahŕňa php.ini direktívy jadra, ktoré môžete nastaviť na konfigurovanie vášho PHP nastavenia. Direktívy riadené rozšíreniami sú vypísané a rozobrané na dokumentačných stránkach daného rozšírenia; Napríklad informácie o direktívach sedenia sa dajú nájsť na stránke sedení.
Httpd Voľby
| Názov | Štandardne | Zmeniteľný |
|---|---|---|
| async_send | "0" | PHP_INI_ALL |
Zoznam php.ini direktív jadra
Frappy
29-Nov-2006 07:13
29-Nov-2006 07:13
russell <at> loosenut <dot> com
05-Oct-2006 01:40
05-Oct-2006 01:40
In order for these settings to work in your htaccess file, you will need to add "Options" to your AllowOverride specifications for the directory/webserver if it's not already allowed.
chad 0x40 herballure 0x2e com
16-May-2006 10:30
16-May-2006 10:30
PHP_INI_SYSTEM can be configured per-directory by placing it inside a per-directory block in httpd.conf.
# Selectively enable APC for wildly popular directories
# apc.enabled is Off in php.ini to reduce memory use
<Directory /usr/local/apache2/htdocs/forum>
php_flag apc.enabled On
</Directory>
ensnared at gmail dot com
21-Apr-2006 10:14
21-Apr-2006 10:14
In .htaccess, only true/false on/off flags can be set using php_flag. To set other values you need to use php_value, like this:
php_value upload_max_filesize 20M
RebootConcepts.com
31-Mar-2006 01:34
31-Mar-2006 01:34
add settings to a .htaccess file with 'php_flag' like this:
php_flag register_globals off
php_flag magic_quotes_gpc on
