Call to undefined function posix_getpwuid()

Got this error while trying to test user privileges on a newly setup server.

If you get this in your error log:

Call to undefined function posix_getpwuid()

It most probably means you don’t have php-posix installed. Install it by issuing the following at shell:

yum install php-posix