php - How to run the websocket without shell command -
i'm building real time message system , used http://www.sanwebe.com/2013/05/chat-using-websocket-php-socket/comment-page-1 tutorial example.
in local pc worked find. have shared server , hosting provider doesn't allow me access shell command on server.
can me on this. there way can execute shell command in php file?
you can start web-socket php like:
exec("php -q ".your_path_of_directory."/server.php >/dev/null 2>&1 &");
Comments
Post a Comment