Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use Vagrant and Puppet to recreate my live VPS and I'd like to test my PHP files locally against that. I have osx so during development I use the apache server there, but I'd like to use the same php files on the virtualbox rather than copy them over.

share|improve this question
up vote 2 down vote accepted

Share the directory over network (NFS, SAMBA, whatever) and mount it on the VirtualBox.

share|improve this answer
    
thanks. It's so easy to do via Vagrant vagrantup.com/v1/docs/config/vm/share_folder.html – ed209 Aug 7 '12 at 15:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.