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: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: petk@php.net Assigned:
Status: Open Package: *Configuration Issues
PHP Version: 7.2.16 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [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)

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 02:01:25 2019 UTC