That sounds pretty close to my setup. I use Symfony in a VMWare (Fedora) virtual machine. All of my apache document roots exist on my local machine (so I can still edit without the VM being started) and this directory is shared with VMWare and mounted within the VM. (FWIW, I use a Mac - my document roots are all in ~/Sites/<dns_name>/htdocs, with ~/Sites being mounted as /var/www in my VM)
My virtual machine is effectively only acting as an Apache proxy and also to serve MySQL. It works very well - because no actual code is stored on the VM, I can easily share my VM image with other developers in my team - the VM is effectively identical for all of us. Another neat trick is that any developer can log into my machine, and start the same VM serving different versions of the same websites from their own copy in ~/Sites/<dns_name>/htdocs - I do that myself, I have a "demo" account, which has latest stable releases in it's ~/Sites directory, and my regular account which is current trunk releases. In addition to being able to edit my files locally without the VM started, I don't get any weird permissions problems and also it's easier to backup the contents of my document roots. It's a neat setup, I highly recommend it :) On 20 Dec 2009, at 16:49, Georg Gell wrote: > You might use a virtual server. > I have a virtual ubuntu server in a vbox with bridged network. > So it has it's own network address and can be reached from the whole > network, and the source code is on a shared windows directory mounted by > smbfs. I used vboxsf for mounting the share, but had some troubles with it. > This way you can perform symfony commands both on windows and on ubuntu, > doing exactely the same thing. > And you can edit the files locally from Netbeans, and even debug the > files step by step on the server from within Netbeans. > You have to patch two symfony files for this to work, i have attached > patches. The first removes a warning by php, that it cannot chmod on > remote filesystems. The other doesn't create symlinks, but copies the > directories, which is the normal behaviour for windows. Now symfony > tasks behave the same way in windows and ubuntu environment, afaik. > > Georg > > Am 20.12.2009 15:57, schrieb HiDDeN: >> Hey guys. How is your development infrastructure? >> >> I like to develop against a Linux machine. I create my symfony project >> there and then with Eclipse PDT + Remote System Explorer I edit the >> files remotely. >> >> Now I discovered Netbeans 6.8 with PHP + Symfony support natively, >> it's smaller and faster, but it hasn't support for remote editing. The >> only thing it has is downloading everything to local. >> >> >> Do you have any tips you would like to share? >> >> -- >> >> You received this message because you are subscribed to the Google Groups >> "symfony users" group. >> To post to this group, send email to symfony-us...@googlegroups.com. >> To unsubscribe from this group, send email to >> symfony-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/symfony-users?hl=en. >> >> >> > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to symfony-us...@googlegroups.com. > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > > <sfConfigCache.class.php.patch><sfFilesystem.class.php.patch> -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.