Skip to content
This repository was archived by the owner on Jul 11, 2022. It is now read-only.
This repository was archived by the owner on Jul 11, 2022. It is now read-only.

Tweak the default PHP config #200

@benface

Description

@benface

I believe the default values for some of the php.ini options should be changed to match most Craft CMS dev workflows:

  • display_errors should be set to On, which is the recommended value for development as per the comments in php.ini.
  • display_startup_errors should also be set to On.
  • max_input_vars should be set to 2000 or even 5000, as 1000 is often too low when saving entries with lots of matrix fields (or the settings for such matrix fields).
  • post_max_size (default value: 8M), upload_max_filesize (default value: 2M), max_file_uploads (default value: 20) could all be at least doubled IMO (I personally set them much higher but I understand that too high is not good either). 2M for upload_max_filesize in particular is really low.

Metadata

Metadata

Labels

bugSomething isn't workingenhancementNot really required but improves quality of life

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions