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 and Apache2 installed. I am trying to test this script, but I keep getting this error. I looked around a bit and saw something where he said it might only be available on linux / unix machines, but I find it hard to believe.

+2


a source to share


2 answers


Try to enable --enable-sysvmsg

. The config.m4 file only checks the sys / msg.h header, so it should work on Mac OSX.



0


a source


Support for these methods built into your PHP installation? It looks like you need to explicitly compile PHP with Semaphore, Shared Memory and IPC support.



Semaphore, Shared Memory and IPC: Installation

0


a source







All Articles