"우분투16 php-xml 설치"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source +<syntaxhighlight , -</source> +</syntaxhighlight>))
 
(다른 사용자 한 명의 중간 판 2개는 보이지 않습니다)
3번째 줄: 3번째 줄:
;- The requested PHP extension ext-xml * is missing from your system. Install or enable PHP's xml extension.
;- 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.
;- 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.


==확인==
==확인==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# php -m | egrep '^(dom|xml)$'
root@zetawiki:~# php -m | egrep '^(dom|xml)$'
root@zetawiki:~# apt list php-xml
root@zetawiki:~# apt list php-xml
Listing... Done
Listing... Done
php-xml/trusty 1:7.1+52+deb.sury.org~trusty+1 all
php-xml/trusty 1:7.1+52+deb.sury.org~trusty+1 all
</source>
</syntaxhighlight>


==설치==
==설치==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# apt install php-xml
root@zetawiki:~# apt install php-xml
Reading package lists... Done
Reading package lists... Done
26번째 줄: 28번째 줄:
After this operation, 1,056 kB of additional disk space will be used.
After this operation, 1,056 kB of additional disk space will be used.
Do you want to continue? [Y/n]  
Do you want to continue? [Y/n]  
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libxslt1.1 amd64 1.1.28-2ubuntu0.1 [145 kB]
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: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]
35번째 줄: 37번째 줄:
Setting up php-xml (1:7.1+52+deb.sury.org~trusty+1) ...#########################.........]  
Setting up php-xml (1:7.1+52+deb.sury.org~trusty+1) ...#########################.........]  
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...###################################]  
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...###################################]  
</source>
</syntaxhighlight>


==확인 2==
==확인 2==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# apt list php-xml
root@zetawiki:~# apt list php-xml
Listing... Done
Listing... Done
php-xml/trusty,now 1:7.1+52+deb.sury.org~trusty+1 all [installed]
php-xml/trusty,now 1:7.1+52+deb.sury.org~trusty+1 all [installed]
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# php -m | egrep '^(dom|xml)$'
root@zetawiki:~# php -m | egrep '^(dom|xml)$'
dom
dom
xml
xml
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
* [[CentOS php-xml 설치]]
* [[CentOS php-xml 설치]]
* [[우분투16 zabbix 서버 설치]]
* [[우분투16 zabbix 서버 설치]]
* [[Install or enable PHP's xml extension.]]


[[분류: apt install]]
[[분류: apt install]]
[[분류: Ubuntu]]
[[분류: Ubuntu]]
[[분류: Ubuntu 16]]
[[분류: Ubuntu 16]]

2024년 1월 13일 (토) 18:08 기준 최신판

  다른 뜻에 대해서는 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 }}