前提モジュールをインストール。
# yum -y install php53u-devel httpd-devel
Loaded plugins: fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
* epel: ftp.iij.ad.jp
* ius: mirror.sothatswhy.org.uk
* sl: ftp.riken.jp
* sl-security: ftp.riken.jp
99 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package httpd-devel.x86_64 0:2.2.15-15.sl6.1 will be installed
--> Processing Dependency: apr-util-devel for package: httpd-devel-2.2.15-15.sl6.1.x86_64
--> Processing Dependency: apr-devel for package: httpd-devel-2.2.15-15.sl6.1.x86_64
---> Package php53u-devel.x86_64 0:5.3.10-1.ius.el6 will be installed
--> Running transaction check
---> Package apr-devel.x86_64 0:1.3.9-3.el6_1.2 will be installed
---> Package apr-util-devel.x86_64 0:1.3.9-3.el6_0.1 will be installed
--> Processing Dependency: openldap-devel for package: apr-util-devel-1.3.9-3.el6_0.1.x86_64
--> Processing Dependency: db4-devel for package: apr-util-devel-1.3.9-3.el6_0.1.x86_64
--> Processing Dependency: expat-devel for package: apr-util-devel-1.3.9-3.el6_0.1.x86_64
--> Running transaction check
---> Package db4-devel.x86_64 0:4.7.25-16.el6 will be installed
--> Processing Dependency: db4-cxx = 4.7.25-16.el6 for package: db4-devel-4.7.25-16.el6.x86_64
--> Processing Dependency: libdb_cxx-4.7.so()(64bit) for package: db4-devel-4.7.25-16.el6.x86_64
---> Package expat-devel.x86_64 0:2.0.1-9.1.el6 will be installed
---> Package openldap-devel.x86_64 0:2.4.23-20.el6 will be installed
--> Processing Dependency: cyrus-sasl-devel >= 2.1 for package: openldap-devel-2.4.23-20.el6.x86_64
--> Running transaction check
---> Package cyrus-sasl-devel.x86_64 0:2.1.23-13.el6 will be installed
---> Package db4-cxx.x86_64 0:4.7.25-16.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================
Package Arch Version Repository Size
========================================================================================================
Installing:
httpd-devel x86_64 2.2.15-15.sl6.1 sl-security 146 k
php53u-devel x86_64 5.3.10-1.ius.el6 ius 613 k
Installing for dependencies:
apr-devel x86_64 1.3.9-3.el6_1.2 sl 175 k
apr-util-devel x86_64 1.3.9-3.el6_0.1 sl 68 k
cyrus-sasl-devel x86_64 2.1.23-13.el6 sl 301 k
db4-cxx x86_64 4.7.25-16.el6 sl 589 k
db4-devel x86_64 4.7.25-16.el6 sl 6.6 M
expat-devel x86_64 2.0.1-9.1.el6 sl 118 k
openldap-devel x86_64 2.4.23-20.el6 sl 1.1 M
Transaction Summary
========================================================================================================
Install 9 Package(s)
Total download size: 9.6 M
Installed size: 37 M
Downloading Packages:
(1/9): apr-devel-1.3.9-3.el6_1.2.x86_64.rpm | 175 kB 00:00
(2/9): apr-util-devel-1.3.9-3.el6_0.1.x86_64.rpm | 68 kB 00:00
(3/9): cyrus-sasl-devel-2.1.23-13.el6.x86_64.rpm | 301 kB 00:00
(4/9): db4-cxx-4.7.25-16.el6.x86_64.rpm | 589 kB 00:00
(5/9): db4-devel-4.7.25-16.el6.x86_64.rpm | 6.6 MB 00:01
(6/9): expat-devel-2.0.1-9.1.el6.x86_64.rpm | 118 kB 00:00
(7/9): httpd-devel-2.2.15-15.sl6.1.x86_64.rpm | 146 kB 00:00
(8/9): openldap-devel-2.4.23-20.el6.x86_64.rpm | 1.1 MB 00:00
(9/9): php53u-devel-5.3.10-1.ius.el6.x86_64.rpm | 613 kB 00:02
--------------------------------------------------------------------------------------------------------
Total 1.6 MB/s | 9.6 MB 00:05
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : apr-devel-1.3.9-3.el6_1.2.x86_64 1/9
Installing : expat-devel-2.0.1-9.1.el6.x86_64 2/9
Installing : db4-cxx-4.7.25-16.el6.x86_64 3/9
Installing : db4-devel-4.7.25-16.el6.x86_64 4/9
Installing : cyrus-sasl-devel-2.1.23-13.el6.x86_64 5/9
Installing : openldap-devel-2.4.23-20.el6.x86_64 6/9
Installing : apr-util-devel-1.3.9-3.el6_0.1.x86_64 7/9
Installing : httpd-devel-2.2.15-15.sl6.1.x86_64 8/9
Installing : php53u-devel-5.3.10-1.ius.el6.x86_64 9/9
Installed:
httpd-devel.x86_64 0:2.2.15-15.sl6.1 php53u-devel.x86_64 0:5.3.10-1.ius.el6
Dependency Installed:
apr-devel.x86_64 0:1.3.9-3.el6_1.2 apr-util-devel.x86_64 0:1.3.9-3.el6_0.1
cyrus-sasl-devel.x86_64 0:2.1.23-13.el6 db4-cxx.x86_64 0:4.7.25-16.el6
db4-devel.x86_64 0:4.7.25-16.el6 expat-devel.x86_64 0:2.0.1-9.1.el6
openldap-devel.x86_64 0:2.4.23-20.el6
Complete!
APCモジュールをインストール。
# pecl install apc
/etc/php.d/にapc.iniファイルを作成。
extension=apc.so
[APC]
apc.enabled = 1
apc.shm_size = 64M
サービスを再読込。
# service php-fpm reslaod
0 件のコメント:
コメントを投稿