Bug 28376 - php-libvirt crashes on apache start with symbol lookup error: TSRMLS_SET_CTX
Summary: php-libvirt crashes on apache start with symbol lookup error: TSRMLS_SET_CTX
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
Depends on:
Reported: 2021-02-18 20:04 CET by Zdeněk Prchal
Modified: 2021-04-15 17:53 CEST (History)
1 user (show)

See Also:
Source RPM: php-libvirt-0.5.5-4.mga8.src.rpm
Status comment:


Description Zdeněk Prchal 2021-02-18 20:04:06 CET
Description of problem:

php with php-libvirt extension installed crashed with this error:
/usr/sbin/httpd: symbol lookup error: /usr/lib64/php/extensions/libvirt-php.so: undefined symbol: TSRMLS_SET_CTX

Version-Release number of selected component (if applicable):

php-libvirt-0.5.5-4.mga8, apache-mod_php-8.0.2-1.mga8, apache-2.4.46-2.mga8

How reproducible:
apache with php and php-libvirt installed do not start with this error

Steps to Reproduce:
1. install apache, php with php-libvirt
2. systemctl start httpd.service
3. look in httpd error_log
Comment 1 Lewis Smith 2021-02-18 21:20:58 CET
Thank you for the report.

Assigning to the active maintainer for php-libvirt.

Assignee: bugsquad => mageia

Comment 2 Marc Krämer 2021-03-11 19:25:28 CET
This module was never updated correctly to php 7 - I hope some one will do this for php 8 soon, or we have to drop it. Just applied some more patches.

Updated php-libvirt
Applied some php 8 patches to fix crash during startup

Updates in core/updates_testing



Assignee: mageia => qa-bugs

Thomas Backlund 2021-03-11 22:03:48 CET

Version: Cauldron => 8

Comment 3 Aurelien Oudelet 2021-04-15 17:53:57 CEST
@  Zdeněk Prchal ,
Status? Are you being able to test Comment 2 packages?

CC: (none) => ouaurelien

Note You need to log in before you can comment on or make changes to this bug.