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

Can I use a different PHP version per folder or subdomain?

Yes, you can. Your hosting package has one main PHP version, which you choose in DirectAdmin under Select PHP version. If a single folder or subdomain needs to run on a different version, for example an old website that doesn't work on the latest PHP yet, you can give that folder its own version with a line in .htaccess.

1. How to set it up

  1. In DirectAdmin, open File Manager and go to the folder that needs a different version. For a subdomain, that's the subdomain's folder, for example domains/example.co.uk/public_html/shop.
  2. Open the .htaccess file in that folder, or create it if it doesn't exist yet.
  3. Put this line at the top and replace 81 with the version you want, without a dot (so 74 for PHP 7.4 or 81 for PHP 8.1):
AddHandler application/x-httpd-php81 .php

The line applies to the folder and all folders below it. The rest of your package stays on the main version.

2. Checking that it works

Place a file named versie.php in the same folder with this content and open it in your browser:

<?php echo PHP_VERSION;

You'll then see the version that's active in that folder. Delete the file again afterwards.

If you get the message 403 Forbidden, that version isn't available per folder on your server. In that case, remove the line again. Older versions, up to and including PHP 8.1, work per folder. Newer versions don't on every server, and PHP 8.5 and higher can only be chosen for the whole package under Select PHP version.

3. Good to know

  • Use exactly the line above. Variants you may come across online, such as SetHandler, AddType or x-lsphp81, don't work on our servers.
  • The folder uses the PHP extensions and settings that belong to that version in Select PHP version. If the website is missing an extension, you'll usually notice it from an error message about a missing function.
  • Does a website only run on an old PHP version? Have it updated in due course, by your web developer or by us: see Having a PHP upgrade done.
  • Want to go back to your package's main version? Remove the line from .htaccess.

Detailed explanation with screenshots: Choosing the PHP version (Select PHP version) in the DirectAdmin manual.

Was this article helpful?

← Back to DirectAdmin and WebOké control panel

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…