vagrant file for a php aura project
- Vagrant 1.6.5
- ubuntu/trusty64
- PHP 5.5
- MySQL 5.5
- Aura Framework 2.x
- at host machine
vagrant up
vagrant ssh
- at guest machine
su -
cd /var/www
composer create-project --stability=dev aura/framework-project aura_project
If you get pdo error, try to edit php.ini.
PDOException “could not find driver”
dpkg --get-selections | grep php5-mysql
yum install php5-mysql
vi php.ini
extension_dir = "/usr/lib/php5/20121212/"
If you point your web browser to http://192.168.22.10
you can see the message Hello World!
.
please refer this tutorial bellow.
and this is also awsome.