We keep getting this error message in our Nginx logs. Using php 8.1.7 with the custombuild 2.0 and secure_php set to NO
PHP message: PHP Fatal error: Uncaught Error: Call to undefined function xxx\xxxx\posix_getpwuid().
When switching back tot php 7.4 the error is displayed as PHP message: PHP Warning: posix_getpwuid() has been disabled for security reasons
We did rebuild PHP with secure_php set to NO. After rebuilding the posix_getpwuid was still listed inside the disable_functions when executing phpinfo().
How can we enable posix_getpwuid ?
PHP message: PHP Fatal error: Uncaught Error: Call to undefined function xxx\xxxx\posix_getpwuid().
When switching back tot php 7.4 the error is displayed as PHP message: PHP Warning: posix_getpwuid() has been disabled for security reasons
We did rebuild PHP with secure_php set to NO. After rebuilding the posix_getpwuid was still listed inside the disable_functions when executing phpinfo().
How can we enable posix_getpwuid ?
Last edited: