When I run cv on a server, I get the following error:

Call to undefined function Civi\Cv\Command\posix_getuid()

Furthermore, I noticed that usually when I run cv --help the output is in color - on this server the output is in black and white.


cv has a PHP dependency that CiviCRM doesn't - the posix plugin. It's installed by default on many systems with PHP (e.g. Debian/Ubuntu) but with the Red Hat/CentOS "remi" repository, it isn't. You can install the php-process package to resolve this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.