no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | php_optimization [2011/11/22 17:25] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== PHP Optimization ====== | ||
+ | * [[PHP]] | ||
+ | * [[xhprof]] | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | === PHP Configuration Overrides === | ||
+ | |||
+ | ^ Mode ^ Meaning ^ | ||
+ | | PHP_INI_USER | Entry can be set in user scripts (like with ini_set()) | | ||
+ | | PHP_INI_PERDIR | Entry can be set in php.ini, .htaccess or httpd.conf | | ||
+ | | PHP_INI_SYSTEM | Entry can be set in php.ini or httpd.conf | | ||
+ | | PHP_INI_ALL | Entry can be set anywhere | | ||
+ | |||
+ | === Configuration Settings === | ||
+ | |||
+ | == short_open_tag == | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | Allow the <? tag. Otherwise, only <?php and < | ||
+ | |||
+ | * Default: Off | ||
+ | * Recommended: | ||
+ | * Changeable: PHP_INI_ALL | ||
+ | |||
+ | == zlib.output_compression == | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | Transparent output compression using the zlib library | ||
+ | |||
+ | * Default: Off | ||
+ | * Recommended: | ||
+ | * Changeable: PHP_INI_ALL | ||
+ | |||
+ | == register_long_arrays == | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | Whether or not to register the old-style input arrays, HTTP_GET_VARS and friends. | ||
+ | |||
+ | * Default: On | ||
+ | * Recommended: | ||
+ | * Changeable: PHP_INI_PERDIR | ||
+ | |||
+ | == register_argc_argv == | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | This directive tells PHP whether to declare the argv& | ||
+ | |||
+ | * Default: On | ||
+ | * Recommended: | ||
+ | * Changeable: PHP_INI_PERDIR | ||
+ | |||
+ | == mysql.allow_persistent == | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | Allow or prevent persistent links. | ||
+ | |||
+ | * Default: On | ||
+ | * Recommended: | ||
+ | * Changeable: PHP_INI_SYSTEM | ||
+ | |||
+ | == session.cache_limiter == | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | Set to {nocache, | ||
+ | |||
+ | * Default: nocache | ||
+ | * Recommended: | ||
+ | * PHP_INI_ALL |