Git Product home page Git Product logo

Comments (3)

clue avatar clue commented on July 17, 2024

Not sure what's going on here, the examples work just fine here, but then again I currently don't run a Windows system to test this on.

Can you try running this on another system and/or run any of the other examples and/or show PHP modules and installed packages (php -m and composer -i)?

I hope this helps 馃憤

from http.

leocavalcante avatar leocavalcante commented on July 17, 2024

Running from PHP Docker image does the same.

位 docker run -it --rm --name my-running-script-2 -v /c/Users/Leo/Sandbox/react-http:/usr/src/myapp -w /usr/src/myapp -p 8001:8001 php php index.php 0.0.0.0:8001
Listening on http://0.0.0.0:8001

Then http://192.168.99.100:8001 hangs forever.

Just did a full setup from Docker's ubuntu image without binding volumes or ports, the same happens.


Env

位 php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
filter
hash
iconv
json
libxml
mbstring
mcrypt
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
readline
Reflection
session
SimpleXML
soap
sockets
SPL
standard
tokenizer
wddx
xdebug
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]
Xdebug

Already tried without Xdebug

位 composer show
evenement/evenement v2.0.0 脡v茅nement is a very simple event dispatching library for PHP
psr/http-message    1.0.1  Common interface for HTTP messages
react/event-loop    v0.4.2 Event loop abstraction layer that libraries can use for evented I/O.
react/http          v0.6.0 Event-driven, streaming plaintext HTTP and secure HTTPS server for ReactPHP
react/promise       v2.5.1 A lightweight implementation of CommonJS Promises/A for PHP
react/socket        v0.5.1 Async, streaming plaintext TCP/IP and secure TLS socket server for React PHP
react/stream        v0.6.0 Event-driven readable and writable streams for non-blocking I/O in ReactPHP
ringcentral/psr7    1.2.1  PSR-7 message implementation

Maybe a missing module?

from http.

leocavalcante avatar leocavalcante commented on July 17, 2024

Oooh!
I was running master's example on 0.6.0 馃う
My bad, sorry.

from http.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.