Skip to content

Testi - Docker setup with swoole php8 and JIT enabled

Notifications You must be signed in to change notification settings

3kbest/swoole-php8-jit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swoole test with PHP8.0 + JIT

Test setup

Build php-swoole Docker image

docker build -f ./Dockerfile -t swoole-php .

Try your Swoole Application

On Linux or MacOS:

docker run --rm -p 9501:9501 -v $(pwd):/app -w /app swoole-php server.php

Or on Windows:

docker run --rm -p 9501:9501 -v C:/YOUR_DIR/:/app -w /app swoole-php server.php

You are able to access the hello world Swoole applicaiton from http://127.0.0.1:9501/

Speed test with "Hello world" html server

speed.png

Read more

https://www.swoole.co.uk/

https://twitter.com/php_swoole/status/1269939058668683265/photo/1

About

Testi - Docker setup with swoole php8 and JIT enabled

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages