Search Results For: daemon
Showing 1 to 1 of 1 blog articles.
400 views · 15 days ago


Hey Friends,

I am sharing a very interesting blog on how to create a chat system in php without using ajax. As we all know ajax based chat system in php is not a good solution

because it **increases the server load and redundant xhr calls** on our server.

Instead, I am going to use sockets for incoming messages from and send messages to another user. So lets try them out using the following steps:

### Step 1: Cross check in php.ini that sockets extension is enabled



/ /remove semicolon from very start of the extension like



### Step 2: Create `server.php` file

This file will handle the incoming and outgoing messages on sockets, Add following variables in to...


    Faster PHP Cloud Hosting