Home  >  Article  >  Backend Development  >  调用msg_get_queue()函数出错:Fatal error: Call to undefined function msg_get_queue()。解决方案

调用msg_get_queue()函数出错:Fatal error: Call to undefined function msg_get_queue()。解决方案

WBOY
WBOYOriginal
2016-06-13 10:07:272505browse

调用msg_get_queue()函数出错:Fatal error: Call to undefined function msg_get_queue()。。。
$mesg_key = ftok(__FILE__, 'm');
$mesg_id = msg_get_queue($mesg_key, 0666);
?>

环境:rhel5.5+php5.3.2+apache2。已经加了编译选项:--enable-sysvshm、--enable-sysvsem、--enable-sysvmsg

------解决方案--------------------
翻墙帮你找了找
檢查 /usr/lib/php/modules/ 是否缺
sysvmsg.so
sysvshm.so
sysvsem.so


修复:
yum install php-process

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn