Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

守护进程方式启动失败 #1505

Open
LGFModel opened this issue Aug 1, 2023 · 1 comment
Open

守护进程方式启动失败 #1505

LGFModel opened this issue Aug 1, 2023 · 1 comment

Comments

@LGFModel
Copy link

LGFModel commented Aug 1, 2023

image
以守护进程方式启动,但是项目中定时任务等相关 任务不执行

采用:php ./bin/swoft http:start 方式就可以

PHP版本为:8.0 版本以上,不知道是否是这个原因引起的

@LGFModel
Copy link
Author

LGFModel commented Aug 1, 2023

PHP Deprecated: Return type of Swoft\WebSocket\Server\Message\Message::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/websocket-server/src/Message/Message.php on line 156

Deprecated: Return type of Swoft\WebSocket\Server\Message\Message::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/websocket-server/src/Message/Message.php on line 156
PHP Deprecated: Return type of Swoft\Event\Event::offsetGet($name) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/event/src/Event.php on line 323

Deprecated: Return type of Swoft\Event\Event::offsetGet($name) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/event/src/Event.php on line 323
PHP Deprecated: Swoft\Event\Event implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /www/wwwroot/Swoft/vendor/swoft/event/src/Event.php on line 26

Deprecated: Swoft\Event\Event implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /www/wwwroot/Swoft/vendor/swoft/event/src/Event.php on line 26
PHP Deprecated: Swoft\Server\Event\ServerStartEvent implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /www/wwwroot/Swoft/vendor/swoft/server/src/Event/ServerStartEvent.php on line 21

Deprecated: Swoft\Server\Event\ServerStartEvent implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /www/wwwroot/Swoft/vendor/swoft/server/src/Event/ServerStartEvent.php on line 21
PHP Deprecated: Swoft\Server\Event\WorkerEvent implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /www/wwwroot/Swoft/vendor/swoft/server/src/Event/WorkerEvent.php on line 0

Deprecated: Swoft\Server\Event\WorkerEvent implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /www/wwwroot/Swoft/vendor/swoft/server/src/Event/WorkerEvent.php on line 0
PHP Deprecated: Return type of Swoft\Http\Session\HttpSession::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/session/src/HttpSession.php on line 461

Deprecated: Return type of Swoft\Http\Session\HttpSession::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/session/src/HttpSession.php on line 461
PHP Deprecated: Return type of Swoft\Stdlib\Fluent::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/stdlib/src/Fluent.php on line 127

Deprecated: Return type of Swoft\Stdlib\Fluent::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/stdlib/src/Fluent.php on line 127
PHP Deprecated: Return type of Swoft\Db\Eloquent\Model::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/db/src/Eloquent/Model.php on line 977

Deprecated: Return type of Swoft\Db\Eloquent\Model::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/db/src/Eloquent/Model.php on line 977
PHP Deprecated: Return type of Swoft\Db\Eloquent\Model::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/db/src/Eloquent/Model.php on line 990

Deprecated: Return type of Swoft\Db\Eloquent\Model::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/db/src/Eloquent/Model.php on line 990
PHP Deprecated: Return type of Swoft\Db\Eloquent\Model::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/db/src/Eloquent/Model.php on line 1004

Deprecated: Return type of Swoft\Db\Eloquent\Model::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/db/src/Eloquent/Model.php on line 1004
PHP Deprecated: Return type of Swoft\Db\Eloquent\Model::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/db/src/Eloquent/Model.php on line 1016

Deprecated: Return type of Swoft\Db\Eloquent\Model::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/db/src/Eloquent/Model.php on line 1016
PHP Deprecated: Return type of Swoft\Db\Eloquent\Model::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/db/src/Eloquent/Model.php on line 820

Deprecated: Return type of Swoft\Db\Eloquent\Model::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/db/src/Eloquent/Model.php on line 820
PHP Deprecated: Return type of Swoft\Stdlib\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/stdlib/src/Collection.php on line 1982

Deprecated: Return type of Swoft\Stdlib\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/wwwroot/Swoft/vendor/swoft/stdlib/src/Collection.php on line 1982

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant