サーバー上で cv
を実行すると、次のエラーが表示されます。
[SymfonyComponentDebugExceptionFatalThrowableError]
Call to undefined function CiviCvCommandposix_getuid()
さらに、通常、 cv --help
を実行すると、出力がカラーで表示されていることに気付きました。このサーバでは、出力は白黒で表示されます。
ベストアンサー
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.