LoginSignup
0
1

More than 3 years have passed since last update.

phalcon 3.4 centos7 install

Last updated at Posted at 2019-10-02

phalcon パッケージのリポジトリ情報登録

phalconの最新パッケージは、ここにあります。
https://packagecloud.io/phalcon/stable

ここから

まずは、yumリポジトリを登録します。

CentOSなので[RPM]を選択します
image.png

[RPM]をクリックするとcurlコマンドが出てきますのでコピーしてLinux上で実行します。
image.png

リポジトリのインストールが終わったらphalconがインストールできるか検索してみます。

yum search phalcon

php55u-phalcon-debuginfo.x86_64 : Debug information for package php55u-phalcon
php56u-phalcon-debuginfo.x86_64 : Debug information for package php56u-phalcon
php70u-phalcon-debuginfo.x86_64 : Debug information for package php70u-phalcon
php71u-phalcon-debuginfo.x86_64 : Debug information for package php71u-phalcon
php72u-phalcon-debuginfo.x86_64 : Debug information for package php72u-phalcon
php73u-phalcon-debuginfo.x86_64 : Debug information for package php73u-phalcon
php55u-phalcon.x86_64 : High performance PHP framework
php56u-phalcon.x86_64 : High performance PHP framework
php70u-phalcon.x86_64 : High performance PHP framework
php71u-phalcon.x86_64 : High performance PHP framework
php72u-phalcon.x86_64 : High performance PHP framework
php73u-phalcon.x86_64 : High performance PHP framework

phalconのインストール

php7.2の場合は、
php72u-phalcon.x86_64

php7.3の場合は、
php73u-phalcon.x86_64

今回は、php7.2の環境にいれるので、
php72u-phalcon.x86_64

yum install php72u-phalcon.x86_64

インストールは2箇所にあります。
/usr/lib64/php/modules/phalcon.so
/usr/lib64/php-zts/modules/phalcon.so (スレッドセーフ版)

php --info | grep phalcon

/etc/php.d/50-phalcon.ini
phalcon
phalcon => enabled

phalcon => enabledと表示されていれば、OKです。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1