Semaphore, Msg queue with php?
have a php script as follow
<?php
$key=ftok("/root/myPhp.php", 'R');
$queue = msg_get_queue($key,0666);
?>
and when I try to run it it says:
<b>Fatal Error</b> Call to undefined function: msg_get_queue()...
do I need to include some additional file?
thought I can run it as is. Like other tutorial I found on web.
|