Le 05/07/2020 à 06:05, PGNet Dev a écrit :
php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'xmlrpc' (tried:
/usr/lib64/php/modules/xmlrpc (/usr/lib64/php/modules/xmlrpc: cannot open shared object
file: No such file or directory), /usr/lib64/php/modules/xmlrpc.so
(/usr/lib64/php/modules/xmlrpc.so: undefined symbol: php_XML_GetCurrentColumnNumber)) in
Unknown on line 0
This happen when xmlrpc is loaded "before" xml
BTW, I cannot reproduce with default configuration.
Remi
[root@f32 ~]# dnf install php-cli php-xmlrpc
Last metadata expiration check: 0:26:35 ago on Sun Jul 5 08:31:19 2020.
Dependencies resolved.
==========================================================================
Package Architecture Version Repository Size
========================================================================
Installing:
php-cli x86_64 7.4.7-1.fc32 updates 4.6 M
php-xmlrpc x86_64 7.4.7-1.fc32 updates 61 k
Installing dependencies:
php-common x86_64 7.4.7-1.fc32 updates 792 k
php-xml x86_64 7.4.7-1.fc32 updates 179 k
Transaction Summary
==========================================================================
Install 4 Packages
Total download size: 5.6 M
Installed size: 38 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): php-xmlrpc-7.4.7-1.fc32.x86_64.rpm 241 kB/s | 61 kB 00:00
(2/4): php-xml-7.4.7-1.fc32.x86_64.rpm 688 kB/s | 179 kB 00:00
(3/4): php-common-7.4.7-1.fc32.x86_64.rpm 1.5 MB/s | 792 kB 00:00
(4/4): php-cli-7.4.7-1.fc32.x86_64.rpm 3.1 MB/s | 4.6 MB 00:01
--------------------------------------------------------------------------
Total 2.7 MB/s | 5.6 MB 00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : php-common-7.4.7-1.fc32.x86_64 1/4
Installing : php-xml-7.4.7-1.fc32.x86_64 2/4
Installing : php-xmlrpc-7.4.7-1.fc32.x86_64 3/4
Installing : php-cli-7.4.7-1.fc32.x86_64 4/4
Running scriptlet: php-cli-7.4.7-1.fc32.x86_64 4/4
Verifying : php-cli-7.4.7-1.fc32.x86_64 1/4
Verifying : php-common-7.4.7-1.fc32.x86_64 2/4
Verifying : php-xml-7.4.7-1.fc32.x86_64 3/4
Verifying : php-xmlrpc-7.4.7-1.fc32.x86_64 4/4
Installed:
php-cli-7.4.7-1.fc32.x86_64 php-common-7.4.7-1.fc32.x86_64
php-xml-7.4.7-1.fc32.x86_64 php-xmlrpc-7.4.7-1.fc32.x86_64
Complete!
[root@f32 ~]# php -v; php -m
PHP 7.4.7 (cli) (built: Jun 9 2020 10:57:17) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gettext
hash
iconv
libxml
openssl
pcntl
pcre
Phar
readline
Reflection
session
SimpleXML
sockets
SPL
standard
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
xsl
zlib
[Zend Modules]