MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: nikobellicgamerin on 2017-03-11, 05:17:43

Title: when i try to install yum install -y php-xml i get this error how to fix it
Post by: nikobellicgamerin on 2017-03-11, 05:17:43
when i try to install yum install -y php-xml i get this error how to fix it


Error: php56w-common conflicts with php-common-5.3.3-48.el6_8.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Title: Re: when i try to install yum install -y php-xml i get this error how to fix it
Post by: MRatWork on 2017-03-11, 06:14:58
Inform here 'yum list installed php*'.
Title: Re: when i try to install yum install -y php-xml i get this error how to fix it
Post by: nikobellicgamerin on 2017-03-11, 06:21:53
 yum list installed php
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: mirror.trouble-free.net
 * extras: mirror.eboundhost.com
 * mratwork-epel: mirror.cs.princeton.edu
 * mratwork-ius-stable: ius.mirror.constant.com
 * mratwork-release-neutral-noarch: rpms.mustafa.id
 * mratwork-release-version-arch: rpms.mustafa.id
 * mratwork-webtatic: us-east.repo.webtatic.com
 * updates: mirrors.mit.edu
0 packages excluded due to repository protections
Error: No matching Packages to list
Title: Re: when i try to install yum install -y php-xml i get this error how to fix it
Post by: MRatWork on 2017-03-11, 06:26:51
Man, try again:
Code: [Select]
yum list installed php*
Title: Re: when i try to install yum install -y php-xml i get this error how to fix it
Post by: nikobellicgamerin on 2017-03-11, 06:30:57
 yum list installed php*
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: mirror.trouble-free.net
 * extras: mirror.eboundhost.com
 * mratwork-epel: mirror.cs.princeton.edu
 * mratwork-ius-stable: ius.mirror.constant.com
 * mratwork-release-neutral-noarch: rpms.mustafa.id
 * mratwork-release-version-arch: rpms.mustafa.id
 * mratwork-webtatic: us-east.repo.webtatic.com
 * updates: mirrors.mit.edu
0 packages excluded due to repository protections
Installed Packages
php56w.x86_64                       5.6.30-1.w6               @mratwork-webtatic
php56w-cli.x86_64                   5.6.30-1.w6               @mratwork-webtatic
php56w-common.x86_64                5.6.30-1.w6               @mratwork-webtatic
php56w-embedded.x86_64              5.6.30-1.w6               @mratwork-webtatic
php56w-fpm.x86_64                   5.6.30-1.w6               @mratwork-webtatic
php56w-gd.x86_64                    5.6.30-1.w6               @mratwork-webtatic
php56w-imap.x86_64                  5.6.30-1.w6               @mratwork-webtatic
php56w-intl.x86_64                  5.6.30-1.w6               @mratwork-webtatic
php56w-ldap.x86_64                  5.6.30-1.w6               @mratwork-webtatic
php56w-mbstring.x86_64              5.6.30-1.w6               @mratwork-webtatic
php56w-mcrypt.x86_64                5.6.30-1.w6               @mratwork-webtatic
php56w-mysql.x86_64                 5.6.30-1.w6               @mratwork-webtatic
php56w-pdo.x86_64                   5.6.30-1.w6               @mratwork-webtatic
php56w-process.x86_64               5.6.30-1.w6               @mratwork-webtatic
php56w-pspell.x86_64                5.6.30-1.w6               @mratwork-webtatic
php56w-recode.x86_64                5.6.30-1.w6               @mratwork-webtatic
php56w-snmp.x86_64                  5.6.30-1.w6               @mratwork-webtatic
php56w-soap.x86_64                  5.6.30-1.w6               @mratwork-webtatic
php56w-tidy.x86_64                  5.6.30-1.w6               @mratwork-webtatic
php56w-xml.x86_64                   5.6.30-1.w6               @mratwork-webtatic
Title: Re: when i try to install yum install -y php-xml i get this error how to fix it
Post by: MRatWork on 2017-03-11, 06:53:47
Your php branch is 'php56w'. So, if you want install certain module, you must do 'yum install php56w-xml' instead 'yum install php-xml'.

But, module xml already install for php56w (see php56w-xml.x86_64).
Title: Re: when i try to install yum install -y php-xml i get this error how to fix it
Post by: nikobellicgamerin on 2017-03-11, 07:02:11
Your php branch is 'php56w'. So, if you want install certain module, you must do 'yum install php56w-xml' instead 'yum install php-xml'.

But, module xml already install for php56w (see php56w-xml.x86_64).

if its already installed then why its not working ? non of xml features are working on any websites
Title: Re: when i try to install yum install -y php-xml i get this error how to fix it
Post by: MRatWork on 2017-03-11, 07:34:45
So, inform here 'sh /script/sysinfo; php -m'.
Title: Re: when i try to install yum install -y php-xml i get this error how to fix it
Post by: nikobellicgamerin on 2017-03-11, 07:40:49
So, inform here 'sh /script/sysinfo; php -m'.

 sh /script/sysinfo; php -m
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016112001
   - Web: hiawatha-10.4.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: ns1.website.com
C. Services:
   1. MySQL: MariaDB-server-10.0.28-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56w-cli-5.6.30-1.w6.x86_64
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.4.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.43-2.el6.x86_64
     - Nginx: nginx-1.11.6-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: awstats
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:           996        805        191          0         44        392
   -/+ buffers/cache:        368        628
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        30G  8.6G   20G  31% /


*** Process Time: 00:00:00:37.37549 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imap
intl
json
ldap
libxml
mbstring
mcrypt
mhash
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
pspell
readline
recode
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib

[Zend Modules]
Title: Re: when i try to install yum install -y php-xml i get this error how to fix it
Post by: MRatWork on 2017-03-11, 08:10:53
With 'php -m', php-xml already exists.

For Kloxo-MR, better update with 'yum clean all; yum update -y; sh /script/cleanup'.
Title: Re: when i try to install yum install -y php-xml i get this error how to fix it
Post by: nikobellicgamerin on 2017-03-11, 13:07:31
With 'php -m', php-xml already exists.

For Kloxo-MR, better update with 'yum clean all; yum update -y; sh /script/cleanup'.

will this update kloxo or php only and do this update effect my websites ?
Title: Re: when i try to install yum install -y php-xml i get this error how to fix it
Post by: MRatWork on 2017-03-11, 14:06:47
Depend on. It will update for all packages.
Title: Re: when i try to install yum install -y php-xml i get this error how to fix it
Post by: nikobellicgamerin on 2017-03-11, 14:29:46
Depend on. It will update for all packages.


can you explain what will happen to my websites
Title: Re: when i try to install yum install -y php-xml i get this error how to fix it
Post by: MRatWork on 2017-03-11, 15:10:41
Better update your server regularly (like per-week). If you found Kloxo-MR update, don't forget to run 'sh /script/cleanup'.

Related to xml module in php, may something wrong with your website php code. Need more investigate to know why.