venomous0x / WhatsAPI

Interface to WhatsApp Messenger
2.59k stars 2.13k forks source link

WhatsApi works like a charm in my system but when try to host it on a web server its not working. #780

Open akpremkumar opened 10 years ago

mgp25 commented 10 years ago

@akpremkumar not working? You need to have php >=5.3 on your web server. And if you have that version and its not working, you are doing something wrong.

More help? More detais

shirioko commented 10 years ago

Probably missing PHP extensions

akpremkumar commented 10 years ago

@mgp25 The php script once called is running for 30 seconds and after that it is automatically terminated by the hosting server probably because of php.ini timeout configuration which i can't change. But because the call is blocked in whatsapp.prot i cannot write code to restart the script just before it is being terminated. Is there any way to repeatedly execute the script ?

shirioko commented 10 years ago

You can have a look at the included AJAX demo. It uses javascript to repeatedly call the listener page.

recoverjp commented 10 years ago

make sure that port 443 is open. most shared servers do not release this port.