Fedora 14 PHP daemon error

I’m using PHP to create a daemon(system process) that listens for request to dial outbound calls from a Asterisk based dialer. ¬†Before I even got started I got the following error:

[root@AsteriskPBX Desktop]# php daemon.php
PHP Fatal error: Uncaught System_Daemon_Exception: PHP is compiled without –enable-posix directive in /root/Desktop/daemon.php on line 6

Many websites suggest recompiling PHP or installing ‘php-posix’, which isn’t in the Fedora repo. After some searching I found that ‘php-posix’ is part of the ‘php-process’ package in Fedora. ¬†It now works!


Written by mattb in: Uncategorized |

No Comments »

RSS feed for comments on this post. TrackBack URL

Leave a comment