Skip to content

Instantly share code, notes, and snippets.

@zekgyn
Forked from ricardoaugusto/fix.md
Last active October 22, 2024 11:18
Show Gist options
  • Select an option

  • Save zekgyn/314e99edba4ac0a62b2894c99b7d4ec6 to your computer and use it in GitHub Desktop.

Select an option

Save zekgyn/314e99edba4ac0a62b2894c99b7d4ec6 to your computer and use it in GitHub Desktop.

Revisions

  1. zekgyn renamed this gist Oct 22, 2024. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. ricardoaugusto created this gist Mar 11, 2018.
    17 changes: 17 additions & 0 deletions fix.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    Edit the file php.ini (or PHP FPM if on Forge):

    ```
    memory_limit = 512M
    post_max_size = 20M
    upload_max_filesize = 20M
    ```

    Edit the nginx.config:

    ```
    client_max_body_size 20M;
    ```

    Restart nginx and PHP.