{
"require": {
"yeaha/owl": "0.1.*"
}
}
require 'src/autoload.php';
nginx.conf
server {
listen 127.0.0.1:12345;
root /PATH/TO/examples/hello_world/public;
index index.php;
location @default {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME /PATH/TO/examples/hello_word/index.php;
}
location / {
try_files $uri @default;
}
}
require swoole extension
php -q examples/hello_world/server.php start