Thursday, December 12, 2013

PHP: posix_getpid() is Undefined

With the most recent versions of Fedora / CentOS, the function posix_getpid() maybe undefined because it has been moved to php-process module.

To fix:

yum install php-process

Or,

simply use getmypid() as alternative.
  • Related Links Widget for Blogspot

No comments: