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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 10:07:27
Original
2687 people have browsed it

调用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

Related labels:
Statement of this Website
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
Latest Issues
***Enable https service
From 1970-01-01 08:00:00
0
0
0
How to enable debugging using php toolbox
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template