Files
archived-presentations/slides/acc_php/conf_php.xml
2004-05-07 14:26:55 +00:00

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>