Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.