1

I have websocket based application which requires to run as php server.php.

In my local Ubuntu computer I run on terminal as php server.php. And it works without a problem unless I break that up with Ctrl + C

So, how can I achive that in live server? Is there some features in cpanel?

Himanshu
  • 4,327
  • 16
  • 31
  • 39
tashi
  • 249
  • 1
  • 3
  • 16

2 Answers2

0

Either use SSH or you could directly run it by going to the url if possible.

Harshit
  • 5,147
  • 9
  • 46
  • 93
0

Without jail shell access you can not login that server through SSH. Please contact your server provider and ask them to enable SSH access for your account,

If you want to run that command every day, then I will suggest you please setup cron job through cPanel.

24x7servermanagement
  • 2,520
  • 1
  • 13
  • 11