Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Vagrantfile: automating Phalcon installation

Hello guys!

I am using Vagrant for my projects and as the vagrant boxes provided on Phalcon's download page didn't work for me, I managed to create a custom box using PuPHPet and then manually installed Phalcon through the ssh.

  • Vm specs:
  • Ubuntu 14.04 LTS x64 w/ vim
  • PHP 5.5 / Apache2
  • MySQL 5.5
  • Misc stuff (composer, node, python, ruby, mongodb...)

I use both Mac and Windows machines and I did not yet install my box on my Mac. I would like to automate the process of installing Phalcon instead of re-doing it manually. As I am quite new to Vagrant I don't know where to start to automate this installation, apart from the fact I need to edit the vagrantfile. How can I do that with the instructions for Ubuntu listed here? https://docs.phalconphp.com/en/latest/reference/install.html

Thanks!



530
edited Oct '15

Oh! Didn't see those :) thanks, will check 'em out and see how it goes!

EDIT: Great thank you, it works fine :)