/vagrant-php7-phalcon

:memo: Vagrant PHP7 + Phalcon VM + Windows 10

Primary LanguageShell

Windows 10 deployment:

  1. check windowsSystem32DriversEtc/hosts.sample add it to your Windows/System32/drivers/etc/hosts
  2. Vagrant file updated changed private IP and linked folder.
  3. Original instructions from the author below:

Ubuntu 16.04 Vagrant VM: Phalcon 3 + PHP 7

logo

  • Git
  • Nginx
  • PHP7
  • Phalcon
  • MySQL
  • Redis
  • Composer
  • NodeJS
  • Npm
  • Gulp
  • Memcached
  • PHPUnit

Quick install

  1. Install VirtualBox
  2. Install Vagrant
  3. Clone this project git clone https://github.com/uonick/vagrant-php7-phalcon.git
  4. Run on host machine:
    • Linux:
      • sudo apt-get install dnsmasq
      • echo "address=/.dev/192.168.3.3" >> /etc/dnsmasq.conf
    • macOS:
      • brew install dnsmasq
  5. Go to directory with README file (cd vagrant-php7-phalcon)
  6. Run vagrant up
  7. 🎉 🎈

Development

  1. Go to vagrant-php7-phalcon/www/
  2. Make directory/public or directory/public/index.php
  3. Open url http://directory.dev/
  4. Enjoy 😎

Domains

  • domain.dev
    • ./www/domain/public/index.php
  • developer.dev
    • ./www/developer/public/index.php

Subdomain

  • sub.domain.dev
    • ./www/domain/sub/www/index.php
  • sub.developer.dev
    • ./www/developer/sub/www/index.php

MySQL

  • login: root
  • password: root