Changelogfeature

PHP 8.4 Now Available on All Plans

2026-06-011 min readv2026.06

PHP 8.4 is now available across all DreamHost hosting plans. This release brings significant performance improvements and new language features.

What's New in PHP 8.4

  • Property hooks — getter/setter logic without boilerplate
  • Asymmetric visibility — different read/write access levels
  • New array_find() function — find elements without loops
  • Performance improvements — up to 15% faster than PHP 8.3

How to Switch

cPanel Users

  1. Log in to cPanel
  2. Go to PHP Selector under Software
  3. Select PHP 8.4 for your domain

CloudLinux Users

# Enable PHP 8.4
/usr/sbin/alt-php-cli --enable 8.4

# Verify
php8.4 -v

Compatibility

PHP 8.4 is a minor version release with high backward compatibility. Most applications running on PHP 8.3 will work without changes. However, we recommend testing in a staging environment first.

Known deprecations:

  • E_STRICT constant removed
  • mysqli.execute_query() parameter changes

Rollback

If you encounter issues, you can switch back to PHP 8.3 at any time through the cPanel PHP Selector or by running:

/usr/sbin/alt-php-cli --enable 8.3
phpupdateperformance