Php71

General support questions
Post Reply
wp.rauchholz
Posts: 133
Joined: 2016/11/20 11:58:45

Php71

Post by wp.rauchholz » 2017/11/19 18:40:30

I upgraded to php71 because I need it fortan App.
I get the following message:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xsl.so' - libexslt.so.0: cannot open shared object file: No such file or directory in Unknown on line 0

I can‘t find a fix on the web.
Is therevan expert here?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Php71

Post by TrevorH » 2017/11/19 20:45:08

How did you upgrade to php 7.1? It's not something we ship in the base/updates repos.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

wp.rauchholz
Posts: 133
Joined: 2016/11/20 11:58:45

Re: Php71

Post by wp.rauchholz » 2017/11/20 07:05:36

I followed a how to https://www.rootusers.com/upgrade-php-5 ... s-7-linux/

'https://setup.ius.io/' -o setup-ius.sh
bash setup-ius.sh
yum remove php-cli mod_php php-common
yum install mod_php70u php70u-cli php70u-mysqlnd
yum install php71u php71u-cli php71u-common php71u-fpm php71u-gd php71u-mbstring php71u-mysqlnd php71u-opcache php71u-pdo php71u-pear php71u-pecl-igbinary php71u-pecl-memcache php71u-pecl-memcached php71u-process php71u-xml php71u-json php71u-bcmath php71-php-intl php71u-intl

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Php71

Post by TrevorH » 2017/11/20 07:29:04

You seem to be mixing and matching versions. You installed mod_php70u in one place and lots of 71u packages elsewhere. Pick one and stick with it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
remirepo
Posts: 447
Joined: 2014/09/21 09:07:12
Location: France
Contact:

Re: Php71

Post by remirepo » 2017/11/20 07:40:21

wp.rauchholz wrote: yum install mod_php70u php70u-cli php70u-mysqlnd
yum install php71u php71u-cli php71u-common php71u-fpm php71u-gd php71u-mbstring php71u-mysqlnd php71u-opcache php71u-pdo php71u-pear php71u-pecl-igbinary php71u-pecl-memcache php71u-pecl-memcached php71u-process php71u-xml php71u-json php71u-bcmath php71-php-intl php71u-intl
If this is possible, this is a huge IUS bug (mixing extension from different versions)

BTW, I rather think the extension=xsl.so was manually added in some ini file (else PHP will give an explicit error message about not matching version)
Remi's Repository - Forum - Blog

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Php71

Post by TrevorH » 2017/11/20 23:13:51

No, the bug is with the packages listed above - I'd guess typo's for 70 where it should've been 71's. Attempting that list of packages here results in

Code: Select all

Error: php71u-mysqlnd conflicts with php70u-mysqlnd-7.0.25-1.ius.centos7.x86_64
Error: php71u-common conflicts with php70u-common-7.0.25-1.ius.centos7.x86_64
Error: php71u-cli conflicts with php70u-cli-7.0.25-1.ius.centos7.x86_64
Error: php71u-pdo conflicts with php70u-pdo-7.0.25-1.ius.centos7.x86_64
Error: mod_php71u conflicts with mod_php70u-7.0.25-1.ius.centos7.x86_64
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

wp.rauchholz
Posts: 133
Joined: 2016/11/20 11:58:45

Re: Php71

Post by wp.rauchholz » 2017/11/21 07:42:13

I confirm, it is a typo on my end.
All packages have a consistent version; 71u
The extension xsl.so is set in /etc/php,d/20-xsl.ini

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Php71

Post by TrevorH » 2017/11/21 08:00:08

What does rpm -V php71u-xml say?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

wp.rauchholz
Posts: 133
Joined: 2016/11/20 11:58:45

Re: Php71

Post by wp.rauchholz » 2017/11/21 18:16:54

Interesting result.

rpm -V php71u-xml returns blank.

Though when I try to install it gives me this.
yum install php71u-xml
......
.......
Package php71u-xml-7.1.11-1.ius.centos7.x86_64 already installed and latest version
Nothing to do

Post Reply