Skip to content

Instantly share code, notes, and snippets.

@ishtaka
Created April 8, 2018 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ishtaka/7c69f512a402399b31dc4eefcfb2ad5b to your computer and use it in GitHub Desktop.
Save ishtaka/7c69f512a402399b31dc4eefcfb2ad5b to your computer and use it in GitHub Desktop.
[Mac]Phalconインストール
# php version
PHP_VERSION="7.2.2"
# install phalcon
git clone --depth=1 git://github.com/phalcon/cphalcon.git
cd cphalcon/build/
./install
# enable phalcon
cd ~/.phpbrew/php/php-${PHP_VERSION}/var/
mkdir db; cd $_
echo "extension=phalcon.so" > phalcon.ini
# install php-ast
git clone --depth=1 https://github.com/nikic/php-ast.git
cd php-ast/
phpize
./configure
make
make install
# enable php-ast
cd ~/.phpbrew/php/php-${PHP_VERSION}/var/db
echo "extension=ast.so" > ast.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment