Skip to content

Cookie settings

Choose which kinds of cookies you allow. You can change your choice at any time via Cookie settings at the bottom of every page. Privacy statement

Necessary

Always on

Needed to log in, keep your cart and remember your choices. These are always on.

Which cookies?
  • weboke_sessie, weboke_klant, weboke_remember: your session and staying logged in
  • weboke_basket: your cart
  • wkBtwIncl: showing prices with or without VAT
  • wok_cookies: your cookie choice, 12 months

Measures which ad leads to a visit or order, so we do not pay for ads that do nothing.

Which cookies?
  • Google Ads via Google Tag Manager (_gcl_au, _gcl_aw), up to 90 days
  • OpenAI Ads, ads in ChatGPT
  • wok_aff: which partner referred you to us (affiliate programme), 60 days

4.6

Country and language

Each country has its own site, with prices and VAT for that country.

View

Upload fails: increase upload_max_filesize and max_execution_time

Is the maximum upload size too small, or does a script stop too quickly? Then you increase a PHP limit. If uploading in WordPress still doesn't work afterwards, go through the list at the bottom of this article.

Recommended: in Select PHP version

  1. Log in to DirectAdmin and under Extra Programs click Select PHP version.
  2. Go to the Options tab.
  3. Adjust the value, for example upload_max_filesize, post_max_size or max_execution_time. Always set post_max_size slightly higher than upload_max_filesize.

Is the version set to native? Then you can't change anything here. First choose a fixed PHP version.

Or: in a .htaccess file

Place a file called .htaccess in the public_html folder with, for example:

php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 120

Choose one of the two methods, so you know for sure which value applies.

Uploading in WordPress doesn't work

Can't upload images or other files in WordPress? Then check these points, from top to bottom.

  1. The file is too large. Do you see a message about upload_max_filesize or error 413? Increase the limit as described above. If you use Cloudflare with the orange cloud turned on, the free plan has a limit of 100 MB per upload.
  2. Your storage is full. Then your website can no longer save files. Read Storage or disk space full: here's how to free up space.
  3. WordPress isn't allowed to write to the upload folder. Check in File Manager whether the wp-content/uploads folder is set to 755 and the files within it to 644. Never set a folder to 777. Read Permissions of files and folders (chmod).
  4. Images aren't being processed. To resize images, WordPress needs the PHP extension imagick or gd. Turn these on in Select PHP version on the Extensions tab. Read Turning PHP extensions on and off.
  5. The firewall is blocking the upload. If you get a 403 error when uploading, the Imunify360 firewall may be blocking the request. Read Imunify360: scanning your website for malware. If you can't access your site at all anymore, check whether your IP address has been blocked: Am I blocked? Your IP address and our firewall.
The Extensions tab with checked extensions such as imagick and intl and grey checkmarks for fixed extensions such as iconv
On the Extensions tab, turn on imagick.
Do you want to put a lot of or large files on your package at once? Then an FTP program like FileZilla often works better than uploading via the browser.

Also see in the DirectAdmin manual: PHP Settings in DirectAdmin or Select PHP version: what's the difference? and Upload too large (error 413) or time-out.

Detailed explanation with screenshots: PHP options: upload_max_filesize, memory_limit and max_execution_time in the DirectAdmin manual.

Was this article helpful?

← Back to General hosting

One moment…

Set up your domains

For each domain, arrange the nameservers, the link to your hosting and who becomes the owner.

Loading your domains…