I've recently installed node.js with and npm on my linux server I have the npm server script running ok but when I try to execute the PHP client app I get the following error PHP Fatal error: Class 'DNode\DNode' not found. I've google the heck out of it but haven't found much about it. can somebody help me set up npm for the first time?
Your PHP interpreter is looking for a class DNode
and cannot find it. You need to tell it where to find that class. How to best do that is not something we could tell you without knowing your setup.
This has been resolved by me and the socket server is running