Note that there are some explanatory texts on larger screens.

plurals
  1. POPHP exec is blocked by ISP
    primarykey
    data
    text
    <p>I am trying to implement the following chat-html5 from git hub: <a href="https://github.com/ivanph/Chat-HTML5" rel="nofollow">https://github.com/ivanph/Chat-HTML5</a></p> <p>I have uploaded everything to my ISP but I have found that the ISP blocks exec for security reasons.</p> <p>The file I am calling is :</p> <pre><code>&lt;?php /** * Main Script of phpWebSockets * * Run this file in a shell or windows cmd to start the socket server. * Sorry for calling this daemon but the goal is that this server run * as daemon in near future. * * @author Moritz Wutz &lt;moritzwutz@gmail.com&gt; * @version 0.1 * @package phpWebSockets */ ob_implicit_flush(true); require 'socket.class.php'; require 'socketWebSocket.class.php'; require 'socketWebSocketTrigger.class.php'; $ip = exec ("ifconfig|grep 'inet:'|grep -v '127.0.0.1' |cut -d: -f2 |awk '{ print $1}'"); $WebSocket = new socketWebSocket($ip,8000); ?&gt; </code></pre> <p>Is there an alternative way to do this ? Do all Isp's block this ?</p> <p>What can I do?</p> <p>Hi Guys thanks for the responses. I got a response from the script developer. I have changed the $ip to the ip address of our web site. I now get the following error:</p> <pre><code>--2013-08-13 12:07:01-- http://www.wilsea.com/websockets2/startDaemon.php Resolving www.wilsea.com... 188.64.188.21 Connecting to www.wilsea.com|188.64.188.21|:80... connected. HTTP request sent, awaiting response... 500 Internal Server Error 2013-08-13 12:07:12 ERROR 500: Internal Server Error. </code></pre> <p>The developer says this means that the port (8000) is in use so I tried 80 - 443 - 8080 but got the same error.</p> <p>I have emailed the ISP and asked if websockets are blocked or if I need a port opening.</p> <p>Anyone else had this issue or any insights into this problem?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload