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 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

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.