Fatal error: Call to undefined function msg_get_queue()
I am trying to run a script on my local machine, I am on MAC OSX leopard. I have PHP 5.2.x installed and Apache2. I am trying to test this script but I keep getting this error. I googled around a little and saw someth开发者_StackOverflow社区ing where it said it might only be available on linux/unix machines but I find that hard to believe.
Try enabling the --enable-sysvmsg
. The config.m4 file only checks for the header sys/msg.h, so it should work in Mac OSX.
Is support for those methods built into your PHP install? It looks as though you need to explicitly compile PHP with Semaphore, Shared Memory and IPC support.
Semaphore, Shared Memory and IPC: Installation
精彩评论