We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Cento 7 LAMP with Phalcon provisioned by Ansible Vagrant

I needed to spin up disposable development environments which were Phalcon orientated. The vagrant file handles everything from installing Ansible and LAMP aswell as Phalcon. It also uses a bento base box https://atlas.hashicorp.com/bento/boxes/centos-7.2

If permitted I thought I would share:

https://github.com/monkeyhead89/phalcon-centos-7-vagrant/

Simple check out, within the checked out directory create a new directory www. Edit config.yml to set ips and specify what network adapter to use. vagrant up.

Either develop or copy in your phalcon project within the www directory and it should be shared to the appropiated var/www/html directory on the vagrant box.

Let me know if it is of any use

  • check apache server status: OK
  • create info.php in /var/www/html
phpinfo();
  • check if phalcon module is active.
  • check apache server status: OK
  • create info.php in /var/www/html
phpinfo();
  • check if phalcon module is active.

Are you having issues with the above?