우분투 php-intl 설치

1 개요[ | ]

우분투 php-intl 설치

2 확인[ | ]

root@zetawiki:~# php -m | grep intl
root@zetawiki:~# dpkg -l | grep php | grep intl
root@zetawiki:~# apt list php-intl -a
Listing... Done
php-intl/xenial 1:7.2+62+ubuntu16.04.1+deb.sury.org+3 all
php-intl/xenial-updates 1:7.0+35ubuntu6.1 all
php-intl/xenial 1:7.0+35ubuntu6 all

3 설치[ | ]

root@zetawiki:~# apt install php-intl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  php7.2-intl
The following NEW packages will be installed:
  php-intl php7.2-intl
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 128 kB of archives.
After this operation, 520 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.2-intl amd64 7.2.10-1+ubuntu16.04.1+deb.sury.org+1 [122 kB]
Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-intl all 1:7.2+62+ubuntu16.04.1+deb.sury.org+3 [5,762 B]
Fetched 128 kB in 1s (65.7 kB/s)
Selecting previously unselected package php7.2-intl.
(Reading database ... 137075 files and directories currently installed.)
Preparing to unpack .../php7.2-intl_7.2.10-1+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php7.2-intl (7.2.10-1+ubuntu16.04.1+deb.sury.org+1) ...........................] 
Selecting previously unselected package php-intl.........................................] 
Preparing to unpack .../php-intl_1%3a7.2+62+ubuntu16.04.1+deb.sury.org+3_all.deb ...
Unpacking php-intl (1:7.2+62+ubuntu16.04.1+deb.sury.org+3) ..............................] 
Processing triggers for libapache2-mod-php7.2 (7.2.10-1+ubuntu16.04.1+deb.sury.org+1) ...] 
Setting up php7.2-intl (7.2.10-1+ubuntu16.04.1+deb.sury.org+1) ...
Progress: [ 63%] [##############################################.........................] 
Creating config file /etc/php/7.2/mods-available/intl.ini with new version
Setting up php-intl (1:7.2+62+ubuntu16.04.1+deb.sury.org+3) ...#######...................] 
Processing triggers for libapache2-mod-php7.2 (7.2.10-1+ubuntu16.04.1+deb.sury.org+1) ...]

4 확인 2[ | ]

root@zetawiki:~# php -m | grep intl
intl
root@zetawiki:~# dpkg -l | grep php | grep intl
ii  php-intl                          1:7.2+62+ubuntu16.04.1+deb.sury.org+3                 all          Internationalisation module for PHP [default]
ii  php7.2-intl                       7.2.10-1+ubuntu16.04.1+deb.sury.org+1                 amd64        Internationalisation module for PHP
root@zetawiki:~#  apt list php-intl -a
Listing... Done
php-intl/xenial,now 1:7.2+62+ubuntu16.04.1+deb.sury.org+3 all [installed]
php-intl/xenial-updates 1:7.0+35ubuntu6.1 all
php-intl/xenial 1:7.0+35ubuntu6 all

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

root@zetawiki:~# systemctl restart apache2
root@zetawiki:~#

6 같이 보기[ | ]

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