Server Sent events not working on WAMP
Posted by: kramnivla (---.55.105.228.BTI.NET.PH)
Date: January 07, 2017 12:49PM

I am trying to implement a server sent event in WAMP and somehow cannot make it work properly. php waits until the entire long script finishes before it sends back data all the while delaying all the progress data I am supposedly sending back. Instead it sends them all together at the end which makes it useless.

However, if I upload the same code to my webhost, it worked flawlessly. it sent at regular intervals as expected.


Is there any setting that I need to turn on to make this work with WAMP?

Thank you very much

Options: ReplyQuote
Re: Server Sent events not working on WAMP
Posted by: RiggsFolly (Moderator)
Date: January 07, 2017 02:15PM

This is not really a WAMPServer issue.

Once you have WAMPServer installed and running it is up to you to configure it to suit your needs, we cannot be expected to support every user, using any of thousands of techniques and/or packages.

I suggest you compare your other servers config (Apache and PHP) with what you are using on WAMPServer.

However a few minutes with GOOGLE found me this and it seems to cover most of the mistakes people might be making.


[stackoverflow.com]

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.6.5.2> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: Server Sent events not working on WAMP
Posted by: kramnivla (---.55.105.228.BTI.NET.PH)
Date: April 06, 2017 06:04PM

Thank you

Options: ReplyQuote


Sorry, only registered users may post in this forum.