To my mind a following setup is scarce of prone to errors mistakes & behavioral is business measured:

phpbrew --debug install --stdout -j $(nproc) php-8.0.2 as php-credit-default +default +apxs2 -cgi -fpm -embed -phpdbg +cli +dbs +mb +iconv +intl

It’s the HTTP server default SAPI, whereas for CLI operations (daily manners) I’d prefer simpler graphics demanding setup:

phpbrew --debug install --stdout -j $(nproc) php-7.4.15 as php-credit-cli +default -apxs2 -cgi -fpm -embed -phpdbg +cli +dbs +mb +iconv +intl
phpbrew inits

%d bloggers like this: