webman:worker exit with status 139(Webman-framework v1.5.7/PHP 8.1.1)

发布时间 2023-10-04 22:49:32作者: 刘宏缔的架构森林

一,报错信息:

worker[webman:225916] exit with status 139

进程会退出

二,解决:

禁用opcache模块:在php.ini中注释掉opcache,使它不生效,如下:

[opcache]
;opcache.enable=1
;opcache.enable_cli=1
;opcache.jit_buffer_size=128M
;opcache.jit=tracing
;zend_extension=opcache

查看php的模块:可以看到opcache未出现

liuhongdi@lhdpc:/data/webman/imageadmin$ php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
fileinfo
filter
ftp
gd
gettext
hash
iconv
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
redis
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
sqlite3
standard
sysvsem
tokenizer
xml
xmlreader
xmlwriter
xsl
yac
zip
zlib

[Zend Modules]

说明:刘宏缔的架构森林—专注it技术的博客,
网站:https://blog.imgtouch.com
原文: https://blog.imgtouch.com/index.php/2023/10/02/webman-worker-exit-with-status-139-webmanframework-v1-5-7-php-8-1-1/
代码: https://github.com/liuhongdi/ 或 https://gitee.com/liuhongdi
说明:作者:刘宏缔 邮箱: 371125307@qq.com

三,查看webman版本和php版本:

liuhongdi@lhdpc:/data/webman/imageadmin$ php webman version
Webman-framework v1.5.7
liuhongdi@lhdpc:/data/webman/imageadmin$ php --version
PHP 8.1.1 (cli) (built: Dec 20 2021 16:12:16) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.1, Copyright (c) Zend Technologies