우분투16 아파치-PHP7 연동

우분투16 아파치2-PHP7 연동
apt-get install libapache2-mod-php7.0

1 확인[편집]

root@zetawiki:~# a2query -m php7.0
No module matches php7.0

2 설치[편집]

root@zetakwiki:~# apt-get install libapache2-mod-php7.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libapache2-mod-php7.0
0 upgraded, 1 newly installed, 0 to remove and 36 not upgraded.
Need to get 1,227 kB of archives.
After this operation, 4,320 kB of additional disk space will be used.
Get:1 http://kr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapache2-mod-php7.0 amd64 7.0.15-0ubuntu0.16.04.4 [1,227 kB]
Fetched 1,227 kB in 0s (2,857 kB/s)             
Selecting previously unselected package libapache2-mod-php7.0.
(Reading database ... 107007 files and directories currently installed.)
Preparing to unpack .../libapache2-mod-php7.0_7.0.15-0ubuntu0.16.04.4_amd64.deb ...
Unpacking libapache2-mod-php7.0 (7.0.15-0ubuntu0.16.04.4) ...
Setting up libapache2-mod-php7.0 (7.0.15-0ubuntu0.16.04.4) ...

Creating config file /etc/php/7.0/apache2/php.ini with new version
Module mpm_event disabled.
Enabling module mpm_prefork.
apache2_switch_mpm Switch to prefork
apache2_invoke: Enable module php7.0

3 확인 2[편집]

root@zetawiki:~# a2query -m php7.0
php7.0 (enabled by maintainer script)

4 같이 보기[편집]