This seems like a basic question, but a search did not come up with any relevant previous threads. In short, I'm just starting on developing a PHP website, and would like to know the best environment to use, given that I already have a powerful windows 7 PC, and plan to host the website on a remote CentOS server.
Option 1. Use PhpStorm on the Windows 7 computer. The files are hosted on the Windows 7 computer (using XAMPP?). Set up a separate test computer running CentOS on the local network. Transfer the files here to test. Advantage is that development is on a local computer, and the test computer does not have to be super powerful (i.e., hot) as it is just hosting and not a development computer.
Option 2. Use PhpStorm on the Windows 7 machine, but have the files stored/hosted on the CentOS test machine. This could be clunkier to view the website while developing, but the advantage could be that you won't get any incompatabilities between hosting on XAMPP initially, and then transferring to CentOS (do such incompatabilities occur?).
Option 3. Remote desktop into the test computer running Linux Mint and PhpStorm. Advantage is that this environment will be much closer to the hosting environment of CentOS. Disadvantage is that the test computer would need to be more powerful as it is being used to develop as well.
I'm new to this, so I don't want to go to the trouble of setting up one of these to find out later that one of the other options is better. Any experience with these different approaches?