hoaproject / Websocket

The Hoa\Websocket library.
https://hoa-project.net/
423 stars 75 forks source link

websocket launch on remote host #88

Closed mkeyno closed 7 years ago

mkeyno commented 7 years ago

hi, I'm sorry to open ticket for my question , but actually I'm not pro in php and with your instruction not figure out how to install it in my remote directory host , and really appreciate for couple of hints , in fact I've tried to hook url on my host to the Telegram webhoock call back bot, so at first step new update data inserted to MySQL database then websoket server give the update data to designated live client . the problem is I bought the domain & host which is has Cpanel and I don't know how to configure my php server to lunch websocket service can you tell me which files should be copy in designated host URL and what files should be modified? Thanks My Cpanel images image

image

Pierozi commented 7 years ago

Hello @mkeyno, deal with webstock require a good knowledge of web server implementation and system processus.

The PHP Websocket server is a php script run by command line (CLI) The way of setup cPanel for this depend of the system behind.

I guess you should look at how setup PHP Service / Command line with cPanel.

PS: I do not recommend cPanel to manage your server.

Hywan commented 7 years ago

I am closing this issue because it looks like it is inactive. Please, ask to re-open it if you need more answers!

mkeyno commented 7 years ago

thanks@hywan , yes actually I've moved to node.js and its more easy for me to launch websocket server