The easiest way to achieve this is to run both Node. js and PHP on the same server , but on different ports. A node. js server can then just do a local HTTP request to the PHP server and do something with the response.
The easiest way to achieve this is to run both Node. js and PHP on the same server , but on different ports. A node. js server can then just do a local HTTP request to the PHP server and do something with the response.