开发者

Fatal error: Call to undefined function msg_get_queue()

开发者 https://www.devze.com 2022-12-30 08:11 出处:网络
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 litt

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

0

精彩评论

暂无评论...
验证码 换一张
取 消