| Directive |
Recommended |
Actual |
| Safe Mode: |
Off |
Off
|
|
| Display Errors: |
Off |
On
|
|
| File Uploads: |
On |
On
|
|
| Magic Quotes GPC: |
On |
On
|
|
| Magic Quotes Runtime: |
Off |
Off
|
|
| Register Globals: |
Off |
Off
|
|
| Output Buffering: |
Off |
Off
|
|
| Session auto start: |
Off |
Off
|
|
| Allow URL fopen: |
Off |
On
|
|
For your site safety we also reccomend you to disable (if you dont use them) these PHP functions: system, exec, passthru, shell_exec, suexec, dbmopen.
php.ini:
disable_functions = "exec,system,passthru,shell_exec, suexec, dbmopen"
or .htaccess:
php_admin_value disable_functions "exec, system, passthru, shell_exec, suexec, dbmopen"
or .httpd.conf:
<IfModule mod_php4.c>
php_admin_value disable_functions "exec, system, passthru, shell_exec, suexec, dbmopen"
</IfModule>
|