Home
DevCentral
Search
Configure Global Search
Log In
Transactions
T558
Change Details
Change Details
Old
New
Diff
**PHP upload_max_filesize setting** I noticed on a [[ https://reviewable.io/reviews/yesnault/docker-phabricator/31 | pull request ]] open against the yesnault/docker-phabricator code base we forgot about `upload_max_filesize`. ``` $ shell devcentral php -i | grep upload_max_filesize upload_max_filesize => 2M => 2M ``` [[ https://secure.phabricator.com/book/phabricator/article/configuring_file_storage/ | Phabricator manual ]] recommends to use 32M there. **PHP max_input_vars setting** The current default value should be increased to, according the [[ https://secure.phabricator.com/book/phabricator/article/configuring_file_storage/ | Phabricator manual ]], "some astronomically high value". ``` $ shell devcentral php -i | grep max_input_vars max_input_vars => 1000 => 1000 ``` This [[ http://php.net/manual/en/info.configuration.php#ini.max-input-vars | setting ]] has been introduced in PHP 5.3.9 to mitigate DoS "which use hash collisions".
**PHP upload_max_filesize setting** I noticed on a [[ https://reviewable.io/reviews/yesnault/docker-phabricator/31 | pull request ]] open against the yesnault/docker-phabricator code base we forgot about `upload_max_filesize`. ``` $ shell devcentral php -i | grep upload_max_filesize upload_max_filesize => 2M => 2M ``` [[ https://secure.phabricator.com/book/phabricator/article/configuring_file_storage/ | Phabricator manual ]] recommends to use 32M there. **PHP max_input_vars setting** The current default value should be increased to, according the [[ https://secure.phabricator.com/book/phabricator/article/configuring_file_storage/ | Phabricator manual ]], "some astronomically high value". ``` $ shell devcentral php -i | grep max_input_vars max_input_vars => 1000 => 1000 ``` This [[ http://php.net/manual/en/info.configuration.php#ini.max-input-vars | setting ]] has been introduced in PHP 5.3.9 to mitigate DoS "which use hash collisions".
Continue