우분투16 php-xml 설치

(Php-xml 설치에서 넘어옴)
  다른 뜻에 대해서는 CentOS php-xml 설치 문서를 참조하십시오.
우분투16 php-xml 설치
- The requested PHP extension ext-xml * is missing from your system. Install or enable PHP's xml extension.
- phpunit/phpunit 4.8.24 requires ext-dom * -> the requested PHP extension dom is missing from your system.
PHP xmlwriter extension missing.
PHP xmlreader extension missing.

1 확인[ | ]

root@zetawiki:~# php -m | egrep '^(dom|xml)$'
root@zetawiki:~# apt list php-xml
Listing... Done
php-xml/trusty 1:7.1+52+deb.sury.org~trusty+1 all

2 설치[ | ]

root@zetawiki:~# apt install php-xml
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libxslt1.1 php7.1-xml
The following NEW packages will be installed:
  libxslt1.1 php-xml php7.1-xml
0 upgraded, 3 newly installed, 0 to remove and 334 not upgraded.
Need to get 264 kB of archives.
After this operation, 1,056 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libxslt1.1 amd64 1.1.28-2ubuntu0.1 [145 kB]
Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main php7.1-xml amd64 7.1.5-1+deb.sury.org~trusty+2 [113 kB]
Get:3 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main php-xml all 1:7.1+52+deb.sury.org~trusty+1 [5,248 B]
... (생략)
Creating config file /etc/php/7.1/mods-available/xsl.ini with new version
Setting up php-xml (1:7.1+52+deb.sury.org~trusty+1) ...#########################.........] 
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...###################################]

3 확인 2[ | ]

root@zetawiki:~# apt list php-xml
Listing... Done
php-xml/trusty,now 1:7.1+52+deb.sury.org~trusty+1 all [installed]
root@zetawiki:~# php -m | egrep '^(dom|xml)$'
dom
xml

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}