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

Changing your PHP version and PHP settings (and what to do if you get errors after an upgrade)

At WebOké you choose which PHP version your website uses, and you can adjust settings such as upload_max_filesize, memory_limit and max_execution_time yourself. You do this in DirectAdmin with Select PHP version. Is your site no longer working after an upgrade? Further down you can read what to do.

Changing the PHP version

  1. Log in to DirectAdmin: in My WebOké, go to My Products and click DirectAdmin next to your hosting package.
  2. Under Extra Features, click Select PHP version.
  3. Choose the version you want from the drop-down list and save your choice.
Select PHP version with the drop-down list for the PHP version
Choosing the PHP version in Select PHP version

Test your website right after the change. If something no longer works, read the section below.

Your site no longer works after a PHP upgrade

Is your site blank, do you see an error message, or has part of it stopped working? This is almost always caused by a plugin, a theme or custom code that isn't compatible with the new version.

  1. Switch back to the previous version. In Select PHP version, choose the version you had before. Your site will immediately work as it did before. Any extensions and options you changed for the new version are kept for your next attempt.
  2. Find the error in the error log. In DirectAdmin, under System Info & Files, click Site Summary / Statistics / Logs and then Error Log next to your domain. Look at the bottom for lines containing PHP Fatal error or PHP Warning. The path usually shows which plugin or theme is causing the problem. If there's nothing useful there, read Displaying PHP errors without editing php.ini.
  3. Update your software. Make a backup first. Then update WordPress (or your other software), your theme and your plugins while the old PHP version is still active. Remove any plugins you don't use.
  4. Try again. Switch the new version back on, test your site and check the error log again.
The error log of a domain with a PHP Warning line at the bottom showing the path to the file and the line number
A PHP message in the error log, with the file and the line number

If you see Call to undefined function, a PHP extension is often missing. You can enable it yourself, see below.

Enabling an extension, such as ionCube

Some paid software, such as certain plugins or webshop modules, is encrypted. It only works with a loader: ionCube (ioncube_loader) or SourceGuardian (sourceguardian). The software's developer will tell you which one you need. You can often tell from a message like "requires the ionCube PHP Loader".

  1. Open Select PHP version and check at the top that the correct version is selected. Extensions are set per PHP version.
  2. Go to the Extensions tab.
  3. Tick ioncube_loader (or the extension you need). The change is active within a minute.
The Extensions tab with ticked extensions, including ioncube_loader, and grey ticks for fixed extensions
You enable extensions such as ioncube_loader on the Extensions tab
If ionCube isn't listed for your version, the loader isn't available for that PHP version. Encrypted software also has to be made compatible with the new PHP version by its developer. In that case, ask the developer for an update, or stay on the previous version until one is available.

Changing PHP settings

  1. Open Select PHP version and go to the Options tab.
  2. Adjust the setting you need, for example upload_max_filesize for larger uploads. In that case, increase post_max_size as well.
  3. The change is saved immediately.

This way you don't need to put anything in a .htaccess file.

Are variations, menus or long forms in WordPress or WooCommerce not being saved, or only partly saved? Then max_input_vars is often too low. Read Variations or menus are not being saved: increasing max_input_vars.

If the version is set to native, you can't change anything under Options. Choose a specific version first.

Rather have it fixed for you?

Can't get it to work, or hasn't your website been updated in years? With the PHP upgrade service, we make your website compatible with a current PHP version for a fixed price. If we can't get it done, you get your money back. Read Having a PHP upgrade done for you.

See also in the DirectAdmin manual: PHP options: upload_max_filesize, memory_limit and max_execution_time, Enabling and disabling PHP extensions and Errors after a PHP upgrade and finding the error log.

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

Want to learn more? Take the free WordPress course, lesson 8.4 PHP versions and upgrades.

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…