Skip to content

Add tutorial: Change WordPress PHP memory and upload limits#1350

Merged
svenja11 merged 5 commits intohetzneronline:masterfrom
DeclanE47:tutorial-change-wordpress-php-limits
Feb 9, 2026
Merged

Add tutorial: Change WordPress PHP memory and upload limits#1350
svenja11 merged 5 commits intohetzneronline:masterfrom
DeclanE47:tutorial-change-wordpress-php-limits

Conversation

@DeclanE47
Copy link
Contributor

@DeclanE47 DeclanE47 commented Dec 29, 2025

I have read and understood the Contributor's Certificate of Origin available at the end of
https://raw.githubusercontent.com/hetzneronline/community-content/master/tutorial-template.md
and I hereby certify that I meet the contribution criteria described in it.
Signed-off-by: DeclanE47 declan@emeryholdings.org

Description

This pull request adds a new Hetzner Community tutorial explaining how to change WordPress PHP memory and upload limits.

The tutorial covers:

  • Increasing WordPress memory limits via wp-config.php
  • Increasing PHP limits (memory_limit, upload_max_filesize, post_max_size)
  • Multiple configuration paths depending on the PHP handler:
    • .htaccess for Apache with mod_php (recommended for Hetzner WordPress Cloud Apps)
    • .user.ini or php.ini for PHP-FPM environments
  • Verification steps using WordPress Site Health and phpinfo
  • Rollback and troubleshooting guidance

The content is written to be platform-agnostic while reflecting common Hetzner setups.

Scope and assumptions

  • Apache-based WordPress installations
  • Generic Linux environments (not OS-specific)
  • No third-party plugins required

Checklist

  • Tutorial follows the Hetzner template
  • Original content
  • Screenshots included and referenced correctly
  • Commands tested
  • Commit signed off (DCO)

Additional notes

Step 5 Option A is marked as recommended when Apache uses mod_php, which aligns with the current Hetzner WordPress Cloud App image.

Introduces a new tutorial with step-by-step instructions and images for increasing WordPress memory and upload limits on Ubuntu servers running Apache. Covers editing wp-config.php, .htaccess, and .user.ini, with troubleshooting and verification steps included.
@svenja11 svenja11 added the review wanted Request a review label Jan 12, 2026
@svenja11
Copy link
Collaborator

svenja11 commented Feb 9, 2026

Thank you for your contribution and sorry for the delay in the review @DeclanE47

I just went through your tutorial and noticed several mentions of citeturn1view0 which indicate that the text may have been copied from AI-generated content. See:

Can you please confirm if your text was written by AI?

@DeclanE47
Copy link
Contributor Author

Hello,

I used AI to reformat my text but the content is written by me

@svenja11
Copy link
Collaborator

svenja11 commented Feb 9, 2026

I see, thank you for clarifying.

@DeclanE47
Copy link
Contributor Author

That can be changed back I was sure I fixed that.

@svenja11
Copy link
Collaborator

svenja11 commented Feb 9, 2026

The tutorial looks good to me now.

@DeclanE47 Please add the Contributor’s Certificate of Origin block to the description of this pull request (as a comment in the PR description).

So basically edit #1350 (comment) and add the Contributor’s Certificate of Origin block at the top (with your own name and email).

Contributor’s Certificate of Origin block:

I have read and understood the Contributor's Certificate of Origin available at the end of
https://raw.githubusercontent.com/hetzneronline/community-content/master/tutorial-template.md
and I hereby certify that I meet the contribution criteria described in it.
Signed-off-by: YOUR NAME [YOUR@EMAILPROVIDER.TLD](mailto:YOUR@EMAILPROVIDER.TLD)

Once this is added, I will merge this PR.

@svenja11 svenja11 added ready and removed review wanted Request a review labels Feb 9, 2026
@DeclanE47
Copy link
Contributor Author

The tutorial looks good to me now.

@DeclanE47 Please add the Contributor’s Certificate of Origin block to the description of this pull request (as a comment in the PR description).

So basically edit #1350 (comment) and add the Contributor’s Certificate of Origin block at the top (with your own name and email).

Contributor’s Certificate of Origin block:

I have read and understood the Contributor's Certificate of Origin available at the end of
https://raw.githubusercontent.com/hetzneronline/community-content/master/tutorial-template.md
and I hereby certify that I meet the contribution criteria described in it.
Signed-off-by: YOUR NAME [YOUR@EMAILPROVIDER.TLD](mailto:YOUR@EMAILPROVIDER.TLD)

Once this is added, I will merge this PR.

Added :)

@svenja11
Copy link
Collaborator

svenja11 commented Feb 9, 2026

Thank you 🙂

@svenja11 svenja11 merged commit 76b116b into hetzneronline:master Feb 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments