The reason you might run it on a vm is because not all operating systems are created equal. Things that work in Linux won't necessarily work on windows, and vice versa. If you're developing on the same type of platform as the live server, there is less chance of a problem rearing its head.
For example, the file system is one major area of windows/linux problems. Windows isn't case sensitive, while Linux is. In windows, you can have a file and a directory with the same name, but not so on Linux. Windows heavily restricts the characters you can use in a filename, Linux is much more relaxed. There is also the problem of all the various modules. Chmod has no real function on windows, but is very important on Linux. It's worth bearing in mind all these issues as you develop. Thanks, Ash http://www.ashleysheridan.co.uk ----- Reply message ----- From: "Alejandro Michelin Salomon" <amichel...@hotmail.com> Date: Fri, Nov 19, 2010 16:13 Subject: RES: [PHP] I am a Windows programmer and getting started on PHP To: "'Daevid Vincent'" <dae...@daevid.com> Cc: <email@example.com> Daevid Vincent: I never use XAMP and those type of installations. Is very simple install Apache on windows ( takes 3 minutes ), and php too. Install php is simples, run the msi package, the installer configures httpd.conf Then you make the changes that you need to php.ini and is complete!!!!. ( enable a extension is just cut off ";" in front of the line, in the php.ini, and restart apache ). Simples, fast, get up and running apache and php on windows. If you need mysql, download the mysql server. Run the installer. The installer configure the database server. When i start with php ( 4.0x ), apache is configured manually. Now is automatic. All the php developers that i know are windows users. OS is not a problem to use php. What install a VM to run linux? If i could run php on windows directly? Alejandro M.S. -----Mensagem original----- De: Daevid Vincent [mailto:dae...@daevid.com] Enviada em: quinta-feira, 18 de novembro de 2010 19:55 Para: 'Keerat Singh'; firstname.lastname@example.org Assunto: RE: [PHP] I am a Windows programmer and getting started on PHP > -----Original Message----- > Subject: [PHP] I am a Windows programmer and getting started > on PHP. What is the easiest way of getting started? Most of > the stuff I encounter seems to be very Linux specific. > > I am a Windows programmer and getting started on PHP. What is > the easiest way of > getting started? Most of the stuff I encounter seems to be > very Linux specific. Personally, I would avoid XAMP and those hacks to run apache and PHP on your XP (or vista or win7 or whatever). I'd say the vast majority of PHP developers are LAMP developers so get used to Linux at least enough to move around the file-system and know where to put files (/var/www/ or ~/public_html etc). With that in mind, I would look for either a pre-built VM. VirtualBox is free and VERY easy/robust. Also VMWare is outstanding and they have a free "player" and eight bajillion pre-made VM appliance setups: http://www.virtualbox.org/ http://www.munkyonline.com/articles/lamp-ubuntu-server-on-virtualbox.html http://www.vmware.com/products/player/ http://www.vmware.com/appliances/directory/cat/0?k=lamp I also strongly suggest you setup your VM to use samba shares so it's easy to edit/save/view your files without some tedious FTP or SCP step. -Daevid. P.S. I'd also limit your email subject lines to a simple sentence or less. Not a paragraph! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php