There was a problem loading the comments.

Editing PHP Values on LaunchCDN

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
  • 10 February 2026 2:53 AM

Three PHP settings commonly need adjusting when users encounter upload errors, white screens, or memory exhaustion on their websites:

  • memory_limit — Maximum memory a single PHP script can consume.
  • post_max_size — Maximum size of an entire POST request (includes file uploads plus any other form data).
  • upload_max_filesize — Maximum size of a single uploaded file.

These values must follow a specific size relationship to work correctly:

 
memory_limit > post_max_size > upload_max_filesize

For example, if you want to allow 256MB file uploads:

Directive Recommended Value
memory_limit 512M
post_max_size 300M
upload_max_filesize 256M

 

  1. Click the Cog (⚙️) next to the domain you want to edit in your LaunchCDN dashboard
  2. Click "🔑 Login to Server Panel" button to login to DirectAdmin for that site.
  3. Click on PHP Settings under the Account Manager heading.
  4. Under Add New Override, locate each of these three directives one-by-one:
    • memory_limit
    • post_max_size
    • upload_max_filesize
  5. Set the desired values for each (e.g. 512M, 300M, 256M).
  6. Click Save.

Changes take effect immediately for the selected domain.


Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

© LaunchCDN