One of the most common headaches for WoWonder admins is the dreaded upload failure. A member tries to share a video or a high-resolution photo, and they get a silent failure, a spinning loader, or a vague "file too large" message. Almost every time, the culprit is a PHP upload limit set too low for a social network that thrives on media.

Let's walk through exactly why this happens and how to fix it properly on both DirectAdmin and cPanel, plus a few WoWonder settings you should double-check.

Why WoWonder Rejects Large Uploads

WoWonder is a social network script, so your users constantly push images, videos, audio, and documents through it. But PHP ships with conservative defaults that cap how big each upload can be. The main settings involved are:

  • upload_max_filesize — the largest single file PHP will accept.
  • post_max_size — the total size of a POST request (must be equal to or larger than the upload size).
  • max_execution_time — how long a script can run before timing out.
  • max_input_time — how long PHP will spend parsing input data.
  • memory_limit — how much RAM a single script can use.

If any of these are too small, uploads break. A 200 MB video upload with upload_max_filesize = 64M will fail every time.

Pro Tip: Always set post_max_size a bit higher than upload_max_filesize. WoWonder sends extra form data along with the file, so if the two are equal, uploads near the limit still fail.

Recommended Values for a Media-Heavy Site

For a typical WoWonder community, these values work well:

upload_max_filesize = 256M
post_max_size = 300M
memory_limit = 512M
max_execution_time = 300
max_input_time = 300

Scale them up if you allow long videos. On Hostiso's NVMe-backed servers with CloudLinux LVE isolation, large uploads write fast and your account stays protected from noisy neighbors, so you can raise these limits confidently.

Changing PHP Limits in cPanel

  1. Log in to cPanel.
  2. Under the Software section, click Select PHP Version (or MultiPHP INI Editor).
  3. If using MultiPHP INI Editor, choose your WoWonder domain from the dropdown.
  4. Adjust the values for upload_max_filesize, post_max_size, memory_limit, max_execution_time, and max_input_time.
  5. Click Apply or Save.

Alternatively, in Select PHP Version → Options, you can toggle and edit each directive individually.

Changing PHP Limits in DirectAdmin

  1. Log in to DirectAdmin.
  2. Go to Account Manager → PHP Selector (or Select PHP Version depending on your theme).
  3. Click the Options tab to view editable PHP directives.
  4. Update upload_max_filesize, post_max_size, memory_limit, max_execution_time, and max_input_time to the recommended values.
  5. Click Save.

Using a Custom php.ini or .user.ini

If your panel doesn't expose these options, create a .user.ini file in your WoWonder root directory (the folder containing index.php) with:

upload_max_filesize = 256M
post_max_size = 300M
memory_limit = 512M
max_execution_time = 300
max_input_time = 300

To create it:

  • cPanel: Open File Manager, navigate to public_html (or your WoWonder folder), click + File, name it .user.ini, then edit and paste the lines above.
  • DirectAdmin: Open File Manager, go to your WoWonder directory, use Create New File, name it .user.ini, then click Edit and add the lines.

Changes to .user.ini may take a couple of minutes to apply due to caching.

Update WoWonder's Own Upload Settings

Server limits alone aren't enough — WoWonder has internal caps too. Log in to your WoWonder Admin Panel and check:

  • Settings → Config → File Upload Limit — set the maximum size (in KB) that matches your PHP limit. For 256 MB, enter 262144.
  • Settings → Config → Allowed File Types — make sure the extensions your users need (mp4, mov, jpg, png, gif, pdf) are listed.
  • Settings → Config — confirm video and audio upload features are enabled if you want them.
Caution: If your WoWonder file upload limit is higher than your PHP upload_max_filesize, the site will still fail. Keep both in sync, with the PHP value slightly higher.

Verify Your Changes

Create a temporary file in your WoWonder folder called phpinfo.php with this content:

<?php phpinfo(); ?>

Visit https://yourdomain.com/phpinfo.php in a browser and search for upload_max_filesize and post_max_size to confirm the new values are active.

Important: Delete phpinfo.php immediately after checking. Leaving it exposes server details you don't want public.

Still Getting Errors? Check These

  • LiteSpeed timeouts: Very large uploads can hit web server limits. Hostiso's LiteSpeed Web Server handles big transfers efficiently, but if you're on a huge upload cap, our 24/7 support team can raise the connection timeout for you.
  • Storage space: Make sure your account has room. Uploaded media eats disk fast on active networks — Hostiso's Enterprise NVMe storage keeps writes speedy even under load.
  • File permissions: The upload/ folder in WoWonder must be writable (usually 755). Fix this in File Manager via right-click → Change Permissions in either panel.
  • Chunked uploads: WoWonder supports chunked uploading for very large files. Enable it in the admin config if you allow multi-hundred-MB videos.

Performance Tip: Cache and Isolate

A media-heavy WoWonder site generates a lot of traffic. Pair your upload tuning with LiteSpeed caching and Redis object caching (both available on Hostiso plans) to keep page loads fast even while uploads process in the background. If your community grows large, moving to a Cloud VPS gives you dedicated resources and full control over PHP limits. For most starting communities, our tuned Shared Hosting handles WoWonder comfortably out of the box.

Frequently Asked Questions

My uploads still fail after raising the limits. What now?

Double-check that WoWonder's internal file upload limit matches your PHP setting, clear any caching, and confirm the upload/ directory is writable. If a specific file type fails, verify it's in WoWonder's allowed extensions list.

What size limit should I set for videos?

For short community videos, 256 MB is plenty. For longer content, 512 MB to 1 GB works, but enable chunked uploads and keep an eye on your storage usage. Larger sites benefit from a VPS for the extra headroom.

Do I need to restart anything after changing PHP settings?

Not usually. Panel-based changes apply immediately. If you edited .user.ini manually, allow up to five minutes for the new values to take effect due to PHP's internal caching.