PHP 8.6 Now Available on Our Windows Hosting Plans with Plesk: Better Performance and Security by Default

  • Thursday, 3rd December, 2026
  • 00:00am

You can now select PHP 8.6 from the Plesk control panel on your Windows Hosting plans, allowing you to test and migrate your web applications to a modern release that improves execution performance, strengthens default security, and introduces new language features.

Key PHP 8.6 Features for Your Web Projects

  • Performance optimizations for common functions and structures: PHP 8.6 includes internal improvements to frequently used operations such as array_map(), array_reduce(), array_intersect(), printf(), JSON encoding, and stateless closure caching, helping reduce CPU overhead in heavy workloads.
  • More secure sessions out of the box: The default session configuration hardens key security settings—enabling session.use_strict_mode and session.cookie_httponly, as well as setting session.cookie_samesite = Lax—helping mitigate common web application risks.
  • Stricter error handling and validation: Several core functions now throw a ValueError on out-of-range values, invalid flags, or NUL bytes in strings, while file operations such as fclose(), file_put_contents(), and copy() report failures when closing or flushing streams instead of failing silently.
  • New utilities for modern development: Introduces Partial Function Application, the \Time\Duration class for measuring intervals and timeouts with nanosecond precision, the clamp() function for bounding values within a range, the SortDirection enum, default values for readonly properties, and in-memory ZIP archive handling (ZipArchive::openString() / closeString()).
  • Polling API (Io\Poll): Adds native I/O multiplexing (backed by OS-level mechanisms such as WSAPoll on Windows and epoll/kqueue on Unix-based systems) designed for event-loop libraries and concurrent I/O workloads.

Recommendation Before Switching Versions in Plesk

Before switching a production site to PHP 8.6, we recommend enabling it in a staging or testing environment in Plesk first and checking your error logs, as stricter session defaults, new ValueError exceptions, and deprecations may affect outdated plugins, themes, or libraries.

« Back