PHP 8.0 Release Candidate 2 available for testing

PHP 8.0 Release Candidate 2 available for testing

PHP 8.0 will be released on November 26, 2020. It's a new major version that will introduce some breaking changes and lots of new features and performance improvements. At the moment, PHP 8.0 is in feature freeze, meaning no new features will be added anymore. The PHP Core team and the community focus on stability to release the 8.0 on time on November 26, 2020.

In the following blog post, we will provide a step by step guide on installing the PHP 8.0 Release Candidate on CloudPanel that you can start testing your PHP APP before it's generally available.

Install PHP 8.0

Before you start with the installation, make sure to make a backup of the server just in case of an unexpected error.

  1. First, we need to add the PHP 8.0 package sources:
nano /etc/apt/sources.list.d/packages.cloudpanel.io.list

Add the following lines after the PHP 7.4:

deb https://d17k9fuiwb52nc.cloudfront.net/ buster php-8.0
deb-src https://d17k9fuiwb52nc.cloudfront.net/ buster php-8.0
  1. Update the package sources:
apt update
  1. Install PHP 8.0 packages:
apt-get install -y php8.0-common php8.0-fpm php8.0 php8.0-zip php8.0-soap php8.0-opcache php8.0-mysql php8.0-cli php8.0-gd php8.0-curl php8.0-xsl php8.0-imap php8.0-intl php8.0-sqlite3 php8.0-bcmath php8.0-mbstring php8.0-readline
  1. That's it, very easy, right?

When you Add a new Domain in CloudPanel, you see now PHP 8.0 version in the dropdown.

The PHP Version is now available to use.

If you already have an existing domain, you can update the PHP Version in your domain's PHP Settings.

PHP Version update for existing Domains.

PHP Extensions

Many popular PHP Extensions like imagick, ioncube loader, or xdebug are not yet compatible or stable for PHP 8.0.
If your PHP APP needs one of these extensions, you may wait some time, it usually takes some months to get a stable version.

Stefan Wieczorek
Stefan Wieczorek
Founder & CTO

He has over 20 years of experience as a PHP Developer and Linux System Administration. He likes to develop solutions to make complicated things easy to use.

You can find him in the CloudPanel Discord Channel.


Deploy CloudPanel For Free! Get Started For Free!