dmamontov's avatar
  • Popularity: 0 points
  • Activity: 34 points
  • Age: 33
  • Pronoun: He/Him/His
  • Joined: 5 years ago
  • Last Login: 4 years ago
  • Profile viewed: 3375 times
  • Has watched: 0 videos
Contact dmamontov
  15381 views · 5 years ago

![PHP IPC with Daemon Service using Message Queues, Shared Memory and Semaphores](

# Introduction

In a previous article we learned about [Creating a PHP Daemon Service]( Now we are going to learn how to use methods to perform IPC - Inter-Process Communication - to communicate with daemon processes.

# Message Queues

In the world of UNIX, there is an incredible variety of ways to send a message or a command to a daemon script and vice versa. But first I want to talk only about message queues - "System V IPC Messages Queues".

A long time ago I learned that a queue can be either in the System V IPC implementation, or in the POSIX implementation. I want to comment only about the System V implementation, as I know it better.

Lets get...