amuck-landowner

Setting up development environment for PHP+MySQL using VirtualBox

Francisco

Company Lube
Verified Provider
Uhmm... Wouldn't it be simpler to use software like WAMP, EasyPHP or AMPPS for PHP development?
Maybe but developing PHP on windows is a whole different kind of beast. There's lots of things that simply don't

work or require a lot of hacking around.

I know when I was a programmer just starting out I used a windows box for my initial testbed. When I submitted my completed work lots of things simply didn't work and the boss raged so bad <_<

Francisco
 

mikho

Not to be taken seriously, ever!
@Francisco


It does work, not in the same way as a *nix environment :)
 

RootNerds

New Member
Verified Provider
Or if you develop across a few machines, just get a usual VPS apache/mysql installation and use WinSCP for editing (it will upload each time you save). I found that working the best. Still interesting read, thanks.
 

walesmd

New Member
  • Download VirtualBox and install it.
  • Download Vagrant and install it.
  • Choose a box and cache it locally, for example Ubuntu 13.04:vagrant box add lucid64 http://files.vagrantup.com/precise64.box
  • In cmd, Powershell or Cygwin - find a place to work:cd ~/Projects/myspace-killer
  • Build a VM: vagrant init lucid64
  • Start the VM: vagrant up
  • Get to work: vagrant ssh
  • Need a break? vagrant suspend
  • Going on vacation? vagrant halt
  • Need a high-five from the future? @walesmd
 

Abdussamad

New Member
Uhmm... Wouldn't it be simpler to use software like WAMP, EasyPHP or AMPPS for PHP development?
That's for noobs. If you are serious about web development you will take the time to learn a little bit of server administration as well. Besides you can't use those easy installers on a production system so you will have to learn how to do it the hard way eventually.
 

WebSearchingPro

VPS Peddler
Verified Provider
As @walesmd mentioned it seems that Vagrant is the new standard for developing on windows due to the portability it provides.

You could also use Cloud9 IDE + Appfog for an entire development platform in the cloud so its platform independent while being collaborative.
 

walesmd

New Member
As @walesmd mentioned it seems that Vagrant is the new standard for developing on windows due to the portability it provides.
For development (at least for the web), period. Sure, it's trivial to get a LAMP stack up and running in OSX or any Linux distro; but that doesn't help much when I'm working on a Rails app at 11:00, then need to make a few changes to a NodeJS app at 11:37 and test the latest version of Jenkins before updating our "live" OpenStack machines.

I would absolutely hate my job if it weren't for virtualization... :(
 

jcaleb

New Member
i configured php and apache on  windows before separately not using wamp or xamp.  took me whole day to work properly.  in linux it took just few minutes, and most of that is because of waiting for download
 

dAgent

New Member
it doesn't matter how hard I try wamp/xampp always works very slow for me comparing to this setup, dunno why :(
 
Last edited by a moderator:
Top
amuck-landowner