| 25 | }}} |
| 26 | |
| 27 | The, default php.ini files which had these changes: |
| 28 | |
| 29 | {{{ |
| 30 | expose_php = Off |
| 31 | memory_limit = 256M |
| 32 | extension=uploadprogress.so |
| 33 | }}} |
| 34 | |
| 35 | Was moved to php.ini.dist.tweaked and then /usr/share/doc/php5-common/examples/php.ini-recommended was copied to /etc/php5/apache2/php.ini and a new /etc/php5/apache2/conf.d/uploadprogress.ini file was created with this in it: |
| 36 | |
| 37 | {{{ |
| 38 | extension=uploadprogress.so |
| 39 | }}} |
| 40 | |
| 41 | And /etc/php5/apache2/php.ini was edited and these things were changed: |
| 42 | |
| 43 | {{{ |
| 44 | expose_php = Off |
| 45 | memory_limit = 256M ; Maximum amount of memory a script may consume (128MB) |
| 46 | error_log = syslog |
| 47 | post_max_size = 12M |
| 48 | upload_max_filesize = 12M |
| 49 | display_errors = On |