Nextcloud 14.0.3 & PHP 7.2 --> The posix extensions are required

Hello there,

Nextcloud version: 14.0.3
Operating system: Centos 7
PHP version: 7.2

This was happening in Nexcloud 13 too.

The problem is trying to do files:scan
sudo -u apache php /var/www/html/web/public/nextcloud/occ files:scan --all

It doesn’t do it and report this error:
The posix extensions are required - see http://php.net/manual/en/book.posix.php

If I try to install php-process
Package php72-php-process-7.2.12-1.el7.remi.x86_64 already installed and latest version
Nothing to do

Has this happened to someone before? Any ideas?

Thanks

Uninstalling PHP and installing again solved the problem