mirror of
https://github.com/php/presentations.git
synced 2026-03-26 00:22:11 +01:00
16 lines
671 B
XML
16 lines
671 B
XML
<slide title="PHP Configuration (php.ini)">
|
|
|
|
<blurb fontsize="4em">
|
|
PHP configuration directives can have significant impact on performance of PHP applications.
|
|
</blurb>
|
|
|
|
<list fontsize="3.4em">
|
|
<bullet>Make sure that %register_globals% is disabled (default since 4.2.0)</bullet>
|
|
<bullet>Disable %magic_quotes_*% directives.</bullet>
|
|
<bullet fontsize="2em" marginleft="2em">|FF0000|make sure your applications will escape input when necessary|</bullet>
|
|
<bullet>Turn off %expose_php%</bullet>
|
|
<bullet>Turn off %register_argc_argv% for non-cli SAPIs</bullet>
|
|
<bullet>Unless absolutely necessary do not enable %always_populate_raw_post_data%</bullet>
|
|
</list>
|
|
|
|
</slide> |