posix – Sheep Guarding Llama https://sheepguardingllama.com Scott Alan Miller :: A Life Online Sun, 13 Mar 2011 00:19:51 +0000 en-US hourly 1 https://wordpress.org/?v=6.9.1 PHP Fatal error: Call to undefined function posix_getpwuid() https://sheepguardingllama.com/2011/03/php-fatal-error-call-to-undefined-function-posix_getpwuid/ https://sheepguardingllama.com/2011/03/php-fatal-error-call-to-undefined-function-posix_getpwuid/#comments Sun, 13 Mar 2011 00:19:51 +0000 http://www.sheepguardingllama.com/?p=6592 Continue reading "PHP Fatal error: Call to undefined function posix_getpwuid()"

]]>
I found that this error appears rather often online but almost no one has any idea why it would come up.  I found this error myself today while doing an install of FreePBX on Fedora 14.  My full error was:

Checking user..PHP Fatal error:  Call to undefined function posix_getpwuid() in /usr/src/freepbx-2.8.1/install_amp on line 728

This seems like it must be a permissions error.  But more than likely you are simply missing the PHP Posix library.  You can resolve this on Fedora with

yum -y install php-posix

Ta da!

]]>
https://sheepguardingllama.com/2011/03/php-fatal-error-call-to-undefined-function-posix_getpwuid/feed/ 8