php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77717 Tests can't be run with shared extensions
Submitted: 2019-03-10 13:09 UTC Modified: 2019-06-09 21:18 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: petk@php.net Assigned:
Status: Wont fix Package: *Configuration Issues
PHP Version: 7.2.16 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: petk@php.net
New email:
PHP Version: OS:

 

 [2019-03-10 13:09 UTC] petk@php.net
Description:
------------
When building PHP with shared extensions (common case when packaging it for Linux distributions) several extensions depend on one another and the load order is important in the ini configuration (extension=name.so). If for example the wddx.so extension is loaded before the xml.so, PHP emits some warnings...


This is probably happening with several other extensions that depend on one another as well.

Solution might simply involve making a list of shared extensions in a proper order based on their dependencies (PHP_MODULES in Makefile).


Test script:
---------------
./configure --disable-all --enable-wddx=shared --enable-xml=shared --enable-libxml
make
make test

Expected result:
----------------
Tests executed without warnings about missing extensions.

Actual result:
--------------
PHP Warning:  PHP Startup: Unable to load dynamic library 'wddx.so' (tried: /var/www/app/modules/wddx.so (Error relocating /var/www/app/modules/wddx.so: php_XML_SetCharacterDataHandler: symbol not found), /var/www/app/modules/wddx.so.so (Error loading shared library /var/www/app/modules/wddx.so.so: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'wddx.so' (tried: /var/www/app/modules/wddx.so (Error relocating /var/www/app/modules/wddx.so: php_XML_SetCharacterDataHandler: symbol not found), /var/www/app/modules/wddx.so.so (Error loading shared library /var/www/app/modules/wddx.so.so: No such file or directory)) in Unknown on line 0



Patches

Website you has been hacked by : @rOo7sh3ll.. your security is low... lol.. ???? (last revision 2019-03-12 18:21 UTC by ArayNet007 at gmail dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-06-09 21:18 UTC] petk@php.net
-Status: Open +Status: Wont fix
 [2019-06-09 21:18 UTC] petk@php.net
Hello,

Closing this one as Won't fix since according to similar issues out there with one of the extensions - mailparse - there was a decision that this is not meant to be fixed directly in the core... Maybe some cases aren't that important with extensions or something I'm not sure, but fixing this bug is quite related to that approach so meaning this can't be fixed either then...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC