This repository was archived by the owner on Mar 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Unable to start hyper-run #19
Copy link
Copy link
Open
Labels
Description
Since I upgraded PHP to version 7.4, I'm unable to start hyper-run.
Built-in PHP server works :
$ php -S localhost:8000 -t www
[Thu Sep 24 09:44:08 2020] PHP 7.4.10 Development Server (http://localhost:8000) started
Quick start example from README :
$ hyper-run -S localhost -s localhost -t www
Error: Duplicated entry: localhost
Custom ports example from README :
$ hyper-run -S localhost:8080 -s localhost:4000 -t www
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:52539) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:54133) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:58997) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:54851) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:65284) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:60798) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:65413) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:63804) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:55732) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:53979) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:62822) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:64312) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:54734) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:60045) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:61284) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:56131) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:59626) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:62500) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:58479) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:55313) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:63849) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:54446) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:59942) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:55327) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:59561) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:63357) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:54137) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:53481) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:54744) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:52055) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:59919) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:62931) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:53021) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:60657) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:60028) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:59783) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:49389) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:59613) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:61402) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:53796) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:56580) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:62519) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:55581) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:55662) started
[Thu Sep 24 09:48:48 2020] PHP 7.4.10 Development Server (http://127.0.0.1:56141) started
Error: Failed to launch server.
I'm using the version 3.1.0 globally :
$ composer global show mpyw/php-hyper-builtin-server
Changed current directory to /home/sebastien/.config/composer
name : mpyw/php-hyper-builtin-server
descrip. : Reverse proxy for PHP built-in server which supports multiprocessing and TLS/SSL encryption
keywords : Built-in, builtin, multiprocess, multiprocessing, proxy, reverse, server, ssl, tls
versions : * v3.1.0
type : project
license : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
source : [git] https://github.com/mpyw/php-hyper-builtin-server.git 14a24b679b6a1b6af4c21fa05288939bc71bd87e
dist : [zip] https://api.github.com/repos/mpyw/php-hyper-builtin-server/zipball/14a24b679b6a1b6af4c21fa05288939bc71bd87e 14a24b679b6a1b6af4c21fa05288939bc71bd87e
path : /home/sebastien/.config/composer/vendor/mpyw/php-hyper-builtin-server
names : mpyw/php-hyper-builtin-server
autoload
psr-4
mpyw\HyperBuiltinServer\ => src/
React\Socket\ => socket/src/
requires
lib-openssl *
php >=5.4.0
react/child-process ^0.4.1
react/promise ^2.4
requires (dev)
codeception/aspect-mock ^2.0
codeception/codeception ^2.2
codeception/specify ^0.4.6
mpyw/co ^1.5
mpyw/privator ^2.0
php >=7.0.0
satooshi/php-coveralls ^1.0
My setup :
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
$ apt list php* --installed
Listing... Done
php-cli/bionic,bionic,now 2:7.4+76+ubuntu18.04.1+deb.sury.org+9 all [installed]
php-common/bionic,bionic,now 2:76+ubuntu18.04.1+deb.sury.org+9 all [installed,automatic]
php-composer-ca-bundle/bionic,bionic,now 1.1.0-1 all [installed,automatic]
php-composer-semver/bionic,bionic,now 1.4.2-1 all [installed,automatic]
php-composer-spdx-licenses/bionic,bionic,now 1.3.0-1 all [installed,automatic]
php-composer-xdebug-handler/now 1.3.2-1 all [installed,local]
php-curl/bionic,bionic,now 2:7.4+76+ubuntu18.04.1+deb.sury.org+9 all [installed]
php-gd/bionic,bionic,now 2:7.4+76+ubuntu18.04.1+deb.sury.org+9 all [installed]
php-intl/bionic,bionic,now 2:7.4+76+ubuntu18.04.1+deb.sury.org+9 all [installed]
php-json-schema/bionic,bionic,now 5.2.6-1 all [installed,automatic]
php-mbstring/bionic,bionic,now 2:7.4+76+ubuntu18.04.1+deb.sury.org+9 all [installed]
php-mysql/bionic,bionic,now 2:7.4+76+ubuntu18.04.1+deb.sury.org+9 all [installed]
php-psr-log/bionic,bionic,now 1.0.2-1 all [installed,automatic]
php-sqlite3/bionic,bionic,now 2:7.4+76+ubuntu18.04.1+deb.sury.org+9 all [installed]
php-symfony-console/bionic-updates,bionic-updates,bionic-security,bionic-security,now 3.4.6+dfsg-1ubuntu0.1 all [installed,automatic]
php-symfony-debug/bionic-updates,bionic-updates,bionic-security,bionic-security,now 3.4.6+dfsg-1ubuntu0.1 all [installed,automatic]
php-symfony-filesystem/bionic-updates,bionic-updates,bionic-security,bionic-security,now 3.4.6+dfsg-1ubuntu0.1 all [installed,automatic]
php-symfony-finder/bionic-updates,bionic-updates,bionic-security,bionic-security,now 3.4.6+dfsg-1ubuntu0.1 all [installed,automatic]
php-symfony-polyfill-mbstring/bionic,bionic,now 1.6.0-2 all [installed,automatic]
php-symfony-process/bionic-updates,bionic-updates,bionic-security,bionic-security,now 3.4.6+dfsg-1ubuntu0.1 all [installed,automatic]
php-xdebug/bionic,now 2.9.6+2.8.1+2.5.5-3+ubuntu18.04.1+deb.sury.org+1 amd64 [installed]
php-xml/bionic,bionic,now 2:7.4+76+ubuntu18.04.1+deb.sury.org+9 all [installed]
php-zip/bionic,bionic,now 2:7.4+76+ubuntu18.04.1+deb.sury.org+9 all [installed]
php7.4-cli/bionic,now 7.4.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic]
php7.4-common/bionic,now 7.4.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic]
php7.4-curl/bionic,now 7.4.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic]
php7.4-gd/bionic,now 7.4.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic]
php7.4-intl/bionic,now 7.4.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic]
php7.4-json/bionic,now 7.4.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic]
php7.4-mbstring/bionic,now 7.4.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic]
php7.4-mysql/bionic,now 7.4.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic]
php7.4-opcache/bionic,now 7.4.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic]
php7.4-readline/bionic,now 7.4.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic]
php7.4-sqlite3/bionic,now 7.4.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed]
php7.4-xml/bionic,now 7.4.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic]
php7.4-zip/bionic,now 7.4.10-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,automatic]
Please help
mpyw and wvffle