hi i still new to vagrant and a little confused by it. i installed a pre-configured vagrant box (this enabled me to install a zend 3 framework) . i now want to do two things.
i want to to be able to use my command line to see what packages (php, mysql etc) are installed with it. in short i want to see how its configured. secondly i want to be able to access the php info page from my browser. below is the vagrant file. i am able to access the php from * http://localhost:8080/* but have no idea how to access the *php files/php info* or to determine whether *mysql* is install. (and if mysql is not install- how to install it and make it available to my project) @script = <<SCRIPT # Install dependencies apt-get update apt-get install -y apache2 git curl php7.0 php7.0-bcmath php7.0-bz2 php7.0-cli php7.0-curl php7.0-intl php7.0-json php7.0-mbstring php7.0-opcache php7.0-soap php7.0-sqlite3 php7.0-xml php7.0-xsl php7.0-zip libapache2-mod-php7.0 # Configure Apache echo "<VirtualHost *:80> DocumentRoot /var/www/public AllowEncodedSlashes On <Directory /var/www/public> Options +Indexes +FollowSymLinks DirectoryIndex index.php index.html Order allow,deny Allow from all AllowOverride All </Directory> Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = 'bento/ubuntu-16.04' config.vm.network "forwarded_port", guest: 80, host: 8080 config.vm.synced_folder '.', '/var/www' config.vm.provision 'shell', inline: @script config.vm.provider "virtualbox" do |vb| vb.customize ["modifyvm", :id, "--memory", "1024"] vb.customize ["modifyvm", :id, "--name", "ZF Application - Ubuntu 16.04"] end end -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/a3f2f7ec-9a0e-4219-85ad-70b7219b5544%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
