Real TIme Data Updates with PHP
This is a link I came across - but im no genius… http://socketo.me/
Im still using PHP because of my dedicated server… and that the site was build before node.js was stable and socket in wappler… so i will have to redo everything… and get a new server… if i want to go the nodje.js way… but im to far down the rabbit hole with php… and point of no return…
There is still a hudge amout of “us” Wapplairians using the php - just because shared hosting is cheap… some of us have huge projects that simply would take a lifetime to convert… and other just want to stick to php…
I know the node.js is thing is the new kid on the block… please don’t forget about us… we were the guys supporting you from DMX days… and well still supporting you and some of us will die oneday still using PHP…
Unfortunately with the usual combination of PHP and Apache this is not possible. Sockets require an additional sockets server to be running and that is very difficult to do in the standard hosting configurations.
The only possibility might be if you also use docker than we could be able to add the sockets server to tge docker setup. But this will be only possible if you use docker for deploy and not just shared hosting.
If you already run your own server and have full control of it, there might be more installation options but will require manual installation.
I found this video online… a bit older but I understand clearly now where @George is coming from… websockets in php is possible… BUT… it NOT EASY at all… and have many other factors that comes into play… with other limitations as well…
For those whom are interested… here is a link to the video…