Closed imzlh closed 1 year ago
Which framework or app are you using ?
Do you catch all the Exceptions and errors?
But the error, looks very clear. Your app don't find the Config File. It isn't a problem from Adapterman.
I send a PR to prevent the confusion.
The error is:
App error message |> Workerman message
Missing Config File |> Worker[1084] process terminated
When I try to run it,I saw: My source code: <?php
require_once DIR . '/vendor/autoload.php';
use Adapterman\Adapterman; use Workerman\Worker;
Adapterman::init();
$http_worker = new Worker('http://0.0.0.0:8080'); $http_worker->count = 1; $http_worker->name = 'typecho';
$http_worker->onWorkerStart = static function () { //init(); require DIR.'/app/index.php'; };
$http_worker->onMessage = static function ($connection, $request) {
};
Worker::runAll(); Can you help me?Thanks.