Skip to content

Instantly share code, notes, and snippets.

@lucianovalenca
Last active April 17, 2020 08:16
Show Gist options
  • Select an option

  • Save lucianovalenca/71ffbaad9fc977572ad0a0ca1068b081 to your computer and use it in GitHub Desktop.

Select an option

Save lucianovalenca/71ffbaad9fc977572ad0a0ca1068b081 to your computer and use it in GitHub Desktop.
Install dependencies
Add respositores
`sudo apt-add-repository ppa:ondrej/php`
Install
`sudo apt-get install php7.3-dev libpcre3-dev gcc make`
You can clone a specific tag using this command:
`git clone --branch v3.4.5 --depth=1 "git://github.com/phalcon/cphalcon.git"`
and now build the extension
`cd cphalcon/build`
`sudo ./install`
You will now need to add extension=phalcon.so to your PHP ini and restart your web server, so as to load the extension.
`extension=phalcon.so`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment