Your PHP installation does not support XML in Centos6.7 -


i have installed centos6.7 within php5.6.16 , i've configured virtual hosting (vhosts) create website.however used ci2.2.0

but got errors below info

an error encountered

your php installation not support xml

so php extension solve problem?

i have install bellow packages

install       1 package(s) upgrade       8 package(s)  total download size: 9.3 m ok [y/n]: y downloading packages: (1/9): php-5.6.16-1.el6.remi.x86_64.rpm                                                                                                                                 | 2.7 mb     00:00      (2/9): php-cli-5.6.16-1.el6.remi.x86_64.rpm                                                                                                                             | 3.9 mb     00:00      (3/9): php-common-5.6.16-1.el6.remi.x86_64.rpm                                                                                                                          | 1.1 mb     00:00      (4/9): php-gd-5.6.16-1.el6.remi.x86_64.rpm                                                                                                                              |  75 kb     00:00      (5/9): php-mbstring-5.6.16-1.el6.remi.x86_64.rpm                                                                                                                        | 965 kb     00:00      (6/9): php-mcrypt-5.6.16-1.el6.remi.x86_64.rpm                                                                                                                          |  46 kb     00:00      (7/9): php-mysqlnd-5.6.16-1.el6.remi.x86_64.rpm                                                                                                                         | 273 kb     00:00      (8/9): php-pdo-5.6.16-1.el6.remi.x86_64.rpm                                                                                                                             | 116 kb     00:00      (9/9): php-xml-5.6.16-1.el6.remi.x86_64.rpm                                                                                                                             | 213 kb     00:00      ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- total                                                                                                                                                          3.7 mb/s | 9.3 mb     00:02      running rpm_check_debug running transaction test transaction test succeeded running transaction  warning : these php-* rpms not official fedora / red hat build , overrides official ones. don't file bugs on fedora project nor red hat.  use dedicated forum @ http://forum.remirepo.net/    updating   : php-common-5.6.16-1.el6.remi.x86_64                                                                                                                                        1/17    updating   : php-cli-5.6.16-1.el6.remi.x86_64                                                                                                                                           2/17    updating   : php-pdo-5.6.16-1.el6.remi.x86_64                                                                                                                                           3/17    updating   : php-mysqlnd-5.6.16-1.el6.remi.x86_64                                                                                                                                       4/17    updating   : php-5.6.16-1.el6.remi.x86_64                                                                                                                                               5/17    updating   : php-gd-5.6.16-1.el6.remi.x86_64                                                                                                                                            6/17    updating   : php-mbstring-5.6.16-1.el6.remi.x86_64                                                                                                                                      7/17    updating   : php-mcrypt-5.6.16-1.el6.remi.x86_64                                                                                                                                        8/17    installing : php-xml-5.6.16-1.el6.remi.x86_64                                                                                                                                           9/17    cleanup    : php-5.6.13-1.el6.remi.x86_64                                                                                                                                              10/17    cleanup    : php-cli-5.6.13-1.el6.remi.x86_64                                                                                                                                          11/17    cleanup    : php-mcrypt-5.6.13-1.el6.remi.x86_64                                                                                                                                       12/17    cleanup    : php-mysqlnd-5.6.13-1.el6.remi.x86_64                                                                                                                                      13/17    cleanup    : php-pdo-5.6.13-1.el6.remi.x86_64                                                                                                                                          14/17    cleanup    : php-mbstring-5.6.13-1.el6.remi.x86_64                                                                                                                                     15/17    cleanup    : php-gd-5.6.13-1.el6.remi.x86_64                                                                                                                                           16/17    cleanup    : php-common-5.6.13-1.el6.remi.x86_64                                                                                                                                       17/17    verifying  : php-gd-5.6.16-1.el6.remi.x86_64                                                                                                                                            1/17    verifying  : php-mbstring-5.6.16-1.el6.remi.x86_64                                                                                                                                      2/17    verifying  : php-mysqlnd-5.6.16-1.el6.remi.x86_64                                                                                                                                       3/17    verifying  : php-cli-5.6.16-1.el6.remi.x86_64                                                                                                                                           4/17    verifying  : php-mcrypt-5.6.16-1.el6.remi.x86_64                                                                                                                                        5/17    verifying  : php-xml-5.6.16-1.el6.remi.x86_64                                                                                                                                           6/17    verifying  : php-pdo-5.6.16-1.el6.remi.x86_64                                                                                                                                           7/17    verifying  : php-common-5.6.16-1.el6.remi.x86_64                                                                                                                                        8/17    verifying  : php-5.6.16-1.el6.remi.x86_64                                                                                                                                               9/17    verifying  : php-cli-5.6.13-1.el6.remi.x86_64                                                                                                                                          10/17    verifying  : php-mcrypt-5.6.13-1.el6.remi.x86_64                                                                                                                                       11/17    verifying  : php-mbstring-5.6.13-1.el6.remi.x86_64                                                                                                                                     12/17    verifying  : php-common-5.6.13-1.el6.remi.x86_64                                                                                                                                       13/17    verifying  : php-pdo-5.6.13-1.el6.remi.x86_64                                                                                                                                          14/17    verifying  : php-5.6.13-1.el6.remi.x86_64                                                                                                                                              15/17    verifying  : php-gd-5.6.13-1.el6.remi.x86_64                                                                                                                                           16/17    verifying  : php-mysqlnd-5.6.13-1.el6.remi.x86_64                                                                                                                                      17/17   installed:   php-xml.x86_64 0:5.6.16-1.el6.remi                                                                                                                                                             dependency updated:   php.x86_64 0:5.6.16-1.el6.remi        php-cli.x86_64 0:5.6.16-1.el6.remi     php-common.x86_64 0:5.6.16-1.el6.remi php-gd.x86_64 0:5.6.16-1.el6.remi php-mbstring.x86_64 0:5.6.16-1.el6.remi   php-mcrypt.x86_64 0:5.6.16-1.el6.remi php-mysqlnd.x86_64 0:5.6.16-1.el6.remi php-pdo.x86_64 0:5.6.16-1.el6.remi     complete! 

install php-xml package.

sudo yum install php-xml 

Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -