우분투 php-yaml 설치

1 개요[ | ]

우분투 php-yaml 설치
apt install php-yaml

2 확인[ | ]

root@zetawiki:~# php -v
PHP 7.1.16-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Apr  5 2018 08:47:00) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.1.16-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
root@zetawiki:~# php -m | grep yaml
root@zetawiki:~# apt list php-yaml
Listing... Done
php-yaml/xenial 2.0.2+1.3.1-1+ubuntu16.04.1+deb.sury.org+1 amd64

3 설치[ | ]

root@zeta1:~# apt install php-yaml
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  php-yaml
0 upgraded, 1 newly installed, 0 to remove and 118 not upgraded.
Need to get 34.3 kB of archives.
After this operation, 227 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-yaml amd64 2.0.2+1.3.1-1+ubuntu16.04.1+deb.sury.org+1 [34.3 kB]
Fetched 34.3 kB in 0s (34.5 kB/s)
Selecting previously unselected package php-yaml.
(Reading database ... 186092 files and directories currently installed.)
Preparing to unpack .../php-yaml_2.0.2+1.3.1-1+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php-yaml (2.0.2+1.3.1-1+ubuntu16.04.1+deb.sury.org+1) .........................] 
Setting up php-yaml (2.0.2+1.3.1-1+ubuntu16.04.1+deb.sury.org+1) ........................]

4 확인 2[ | ]

root@zetawiki:~# apt list php-yaml
Listing... Done
php-yaml/xenial,now 2.0.2+1.3.1-1+ubuntu16.04.1+deb.sury.org+1 amd64 [installed]
root@zetawiki:~# php -m | grep yaml
yaml

5 (Optional) 아파치 재시작[ | ]

apache2ctl restart

6 같이 보기[ | ]

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