[PHP] Installing a beta version of a PECL extension

Published on 2024-11-24 • Modified on 2024-11-24

This snippet shows how to install a beta version of a PHP PECL extension. For example, when PHP 8.4.1 was released; we had the following error when installing the Xdebug PHP extension: pecl/xdebug requires PHP (version >= 8.0.0, version <= 8.3.99), installed version is 8.4.1. Hopefully, a beta version is ready for this PHP version. This version is not marked as "stable"; that's why PECL does not automatically install it.


pecl install xdebug-3.4.0beta1

 More on Stackoverflow   Read the doc  More on the web  Random snippet

  Work with me!