PHP 8.6 is available on our web hosting

What is happening
On 19 November 2026, the PHP development team released PHP 8.6.0, this year’s new major version. According to the project’s schedule, it will receive bug fixes until 31 December 2028 and security fixes until 31 December 2030.
New features announced by the PHP project include:
- partial function application;
- default values for read-only (
readonly) properties; - a new
Io\PollAPI for monitoring streams; - the
clamp()function, the\Time\Durationclass and theSortDirectionenum.
What changes at SwissCenter
PHP 8.6 is available on the servers of our web hosting, in addition to the versions already offered. Your website keeps running with the PHP version you chose: no website moves to PHP 8.6 unless you decide so.
Before moving to PHP 8.6
A new major version can break an application that has not been adapted yet. The PHP project points out in particular:
- functions and practices that are now deprecated, such as
returninside afinallyblock, the mbstring regular expression functions (mb_ereg(),mb_split()) orspl_object_hash(); - new session defaults: strict mode, a cookie that JavaScript cannot read (
HttpOnly) and theSameSiteattribute set toLax; - many functions that now raise an error (
ValueError) for an out-of-range value or an invalid parameter.
What you need to do
- Check that your CMS (WordPress, Joomla…), its theme and its extensions state that they are compatible with PHP 8.6. Publishers often take a few weeks to confirm it.
- Back up your website before changing the version, then test on a copy of the website if possible.
- Change your website’s PHP version, then check its main pages, its forms and its administration area. If something goes wrong, switch back to the previous version.
- If your website still runs on PHP 8.2, plan the move to a newer version before 31 December 2026: PHP 8.2 will no longer receive security fixes after that date.