LoginSignup
0

More than 5 years have passed since last update.

【mac】XAMPPにPhalconをインストールする手順

Last updated at Posted at 2018-04-30

とりあえずphp系で何かインストールするときにはこの人たちがいないとエラーになることが多いらしいということで、一気にインストールしました。
このコマンドをぴって貼り付けたら一発です。

brew install gcc re2c libmcrypt autoconf automake libiconv pcre

Phalconのインストール

git clone git://github.com/phalcon/cphalcon.git
cd cphalcon/build
sudo ./install

クローンして、移動して、インストール
これで、終わりです。phalcon.soが作られているはずなので、確認しましょう。

PhalconをXAMPPに結びつける

phalcon.soをコピーして、「/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20160303」の中に貼り付け

php.iniにこれを追記

/Applications/XAMPP/xamppfiles/etc/php.ini
extension=phalcon.so

phpinfoにphalconがあれば終わり!

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