Windows 10 deployment:
- check windowsSystem32DriversEtc/hosts.sample add it to your Windows/System32/drivers/etc/hosts
- Vagrant file updated changed private IP and linked folder.
- Original instructions from the author below:
Ubuntu 16.04 Vagrant VM: Phalcon 3 + PHP 7
- Git
- Nginx
- PHP7
- Phalcon
- MySQL
- Redis
- Composer
- NodeJS
- Npm
- Gulp
- Memcached
- PHPUnit
Quick install
- Install VirtualBox
- Install Vagrant
- Clone this project
git clone https://github.com/uonick/vagrant-php7-phalcon.git
- Run on host machine:
- Linux:
sudo apt-get install dnsmasq
echo "address=/.dev/192.168.3.3" >> /etc/dnsmasq.conf
- macOS:
brew install dnsmasq
- Linux:
- Go to directory with README file (
cd vagrant-php7-phalcon
) - Run
vagrant up
🎉 🎈
Development
- Go to
vagrant-php7-phalcon/www/
- Make
directory/public
ordirectory/public/index.php
- Open url
http://directory.dev/
- 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