Giter Club home page Giter Club logo

vagrant-php-box's People

Contributors

brunosapienza avatar daghostman avatar joaorsalmeida avatar ryanwalters avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vagrant-php-box's Issues

Some error

Hi,
I do all as noted, when i access to localhost:8080 i receive
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.

But nothing work inside, i try create file inside sites/index.html but it no work.

Better documents

Hi,
I have tried to follow instructions on my mac and can't get it to work.
Maybe it's my lack understanding the vagrant yet, though I follow there instructions.

I have clone this rep to home/amir/vagrant-php-box
Go inside the folder and then $ vagrant up.
Then is the sites tilde I have crush a new Drupal site - home/amir/vagrant-php-box/sites/dev
then I go to http://localhost:8080 and see nothing.
Also try http://localhost:8080/dev and nothing.
What am I missing?
Where do I setup my DB?
Thanks!

fails to run puppet manifests

I get this everytime no matter what I try:

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

puppet apply --modulepath '/tmp/vagrant-puppet-3/modules-0:/etc/puppet/modules' --manifestdir /tmp/vagrant-puppet-3/manifests --detailed-exitcodes /tmp/vagrant-puppet-3/manifests/init.pp

Stdout from the command:

Stderr from the command:

stdin: is not a tty
Could not parse for environment production: Could not match /usr/bin/, at /tmp/vagrant-puppet-3/manifests/init.pp:2 on node

Puppet starts very slow during vagrant up

Especially in this section:

==> default: Notice: /Stage[main]/Mysql/Package[mysql-server]/ensure: ensure changed 'purged' to 'present'
==> default: Notice: /Stage[main]/Base/Exec[apt-get update]/returns: executed successfully
==> default: Notice: /Stage[main]/Php/Package[php5-mysql]/ensure: ensure changed 'purged' to 'present'
==> default: Notice: /Stage[main]/Php/Package[php5-imagick]/ensure: ensure changed 'purged' to 'present'
==> default: Notice: /Stage[main]/Php/Package[php5-mcrypt]/ensure: ensure changed 'purged' to 'present'
==> default: Notice: /Stage[main]/Php/Package[php5-xdebug]/ensure: ensure changed 'purged' to 'present'

vagrant up takes about 14 minutes 0_o lol
I configured vagrant for speed up but it doesn't help:

config.vm.provider "virtualbox" do |v|
      v.memory = 4096
      v.cpus = 2
      v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
      v.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
      v.customize ["modifyvm", :id, "--ioapic", "on"]
  end

Any idea how i can improve performance for vagrant up?

Setting owner user and group of synced directories to "www-data"

I noticed owner of synced directories are not correctly set in vagrant file:

  # Sync between the web root of the VM and the 'sites' directory
  config.vm.synced_folder "sites/", "/var/www", owner: "www-data", group: "www-data"

It causes permission issues on php scripts.

localhost:8080 is empty

I can confirm vagrat is working, and the server is responsive.
I could access MySQL on http://33.33.33.10/phpmyadmin
but for some reason, when accessing localhost:8080 it looks like it's empty. Apache is working but doesn't find any files...

Wrong MySQL password

I can't login with the new user or the previous one. I have tryed (user: root, password: root) and (user: root, password: )

mysql did not get installed

Hello, thank you for your fantastic VagrantFile. It seems that when I ran it, mysql did not get installed. I resolved that by installing mysql-server in the terminal.

Document root appears to be /sites/html

The files put into /sites/ on the host machine are linked into /var/www/ in the VM, but it looks like it's serving files out of the /var/www/html/ directory by default, so you should put your php files into /sites/html/ on the host machine if you want them to appear when you visit localhost:8080. Should that be noted in the Readme.md?

On another note, for some reason on my mac I couldn't access the site at port 8080. I had to change the port to something else (e.g. 8888) in the Vagrantfile to access the VM from my host machine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.