Tag: PECL
PECL (PHP Extension Community Library) is a repository of C extensions for PHP, providing additional functionality to the language through dynamically loadable modules.
-
Pecl: fixing “fatal error: ‘pcre2.h’ file not found”
When using pecl to install a PHP extension, I always got a “fatal error: ‘pcre2.h’ file not found” after PHP has been updated. The update was done using brew upgrade php. In my case, this happens when I try to install pcov using: The output was: To fix the issue, make sure you have pcre2…