An error occurred while calling the msg_get_queue () function: Fatalerror: Calltoundefinedfunctionmsg_get_queue (). Solution
Source: Internet
Author: User
An error occurred while calling the msg_get_queue () function: Fatalerror: Calltoundefinedfunctionmsg_get_queue ()... & Lt ;? Php $ mesg_key = ftok (_ FILE __, 'M'); an error occurred while calling the msg_get_queue () function: Fatal error: Call to undefined function msg_get_queue ()...
$ Mesg_key = ftok (_ FILE __, 'M ');
$ Mesg_id = Maid ($ mesg_key, 0666 );
?>
Environment: rhel5.5 + php5.3.2 + apache2. Compilation options have been added: -- enable-sysvshm, -- enable-sysvsem, -- enable-sysvmsg
------ Solution --------------------
Rummaging over the wall to help you find
Check whether/usr/lib/php/modules/is missing
Sysvmsg. so
Sysvshm. so
Sysvsem. so
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.