php: error running opcache
A message that is not in the archive (sent off-list or not yet received): [email protected]
I think that I have fixed the issue by overriding the following line in php_7.4.4.bb:
PACKAGECONFIG[opcache] = "--enable-opcache,--disable-opcache"
to
PACKAGECONFIG[opcache] = "--enable-opcache=shared,--disable-opcache"
Regards,
Claude Bing
Quoted 17 lines · Claude Bing
Hello all. I am in the process of upgrading our Yocto installation to the Dunfell branch(es), and I came across a peculiar issue with PHP. We use the opcache extension, but it is emitting the following error on startup:
Failed loading
/usr/lib/php7/extensions/no-debug-non-zts-20190902/opcache.so:/usr/lib/php7/extensions/no-debug-non-zts-20190902/opcache.so: undefined
symbol:shm_unlinkIs anyone else having this issue in their environment? I will continue researching to see what caused the problem to appear between Zeus and Dunfell, but I suspect it has something to do with the PHP 7.4 upgrade.
Quoted 11 lines · Claude Bing
I think that I have fixed the issue by overriding the following line in php_7.4.4.bb:
PACKAGECONFIG[opcache] = "--enable-opcache,--disable-opcache"
to
PACKAGECONFIG[opcache] = "--enable-opcache=shared,--disable-opcache"
Regards,
Can you also prepare a patch and send here
Quoted 22 lines
Claude Bing
Quoted 19 lines · Claude Bing
Hello all. I am in the process of upgrading our Yocto installation to the Dunfell branch(es), and I came across a peculiar issue with PHP. We use the opcache extension, but it is emitting the following error on startup:
Failed loading
/usr/lib/php7/extensions/no-debug-non-zts-20190902/opcache.so:/usr/lib/php7/extensions/no-debug-non-zts-20190902/opcache.so: undefined
symbol:shm_unlinkIs anyone else having this issue in their environment? I will continue researching to see what caused the problem to appear between Zeus and Dunfell, but I suspect it has something to do with the PHP 7.4 upgrade.
During debugging I also included -lrt in LDFLAGS, so I will need to see if that is still required, or if I can drop that part.
Afterwards I will send a patch, yes. Thanks :)
Regards,
Claude Bing
Quoted 41 lines · Khem Raj
Quoted 11 lines · Claude Bing
I think that I have fixed the issue by overriding the following line in php_7.4.4.bb:
PACKAGECONFIG[opcache] = "--enable-opcache,--disable-opcache"
to
PACKAGECONFIG[opcache] = "--enable-opcache=shared,--disable-opcache"
Regards,
Can you also prepare a patch and send here
Quoted 24 lines
Claude Bing
Quoted 21 lines · Claude Bing
Hello all. I am in the process of upgrading our Yocto installation to the Dunfell branch(es), and I came across a peculiar issue with PHP. We use the opcache extension, but it is emitting the following error on startup:
Failed loading
/usr/lib/php7/extensions/no-debug-non-zts-20190902/opcache.so:/usr/lib/php7/extensions/no-debug-non-zts-20190902/opcache.so: undefined
symbol:shm_unlinkIs anyone else having this issue in their environment? I will continue researching to see what caused the problem to appear between Zeus and Dunfell, but I suspect it has something to do with the PHP 7.4 upgrade.