I am new to PHP and would like to learn. I am limited to running on Windows and need advice on getting setup. Which IDE should I use? Are there any development servers similar to the one included in Visual Studio? What other general advice do you have?
For a development server, I recommend installing an instance of XAMPP. It's a 1-step install of Apache, PHP, MySQL, and Perl. As far as Editors/IDE, there's a lot of different options out there. Personally, I prefer Notepad++.
Just go get a book. This one is free: http://www.computer-books.us/php_0004.php
If it is intended to be a dev machine, there's no reason to hassle around with manual installation. There are bundles out there, like XAMPP or EasyPHP. Both of these offer very simple installation of apache, php and mysql.
Regarding editors, I tried a few. My personal choice is Netbeans, for being crossplatform and confortable.
The Zend Server Community Edition does an install with PHP 5.2 or 5.3, Apache 2+, and MySQL 5+ as one install. As far as IDEs are concerned I've used Eclipse (and Zend Studio), Notepad++, and NetBeans. I tend to favor the Zend Studio implementation of Eclipse but they're both nice.
And, this is all on my local PC.
Another easy to setup environment is the following:
- Wampserver (includes Apache, MySql, and PHP for Windows)
- UltraEdit (not free, but I prefer it over Notepad++)
- SQLyog Community Edition (I prefer it over phpmyadmin)
I tried many IDEs and editors and finally settled on Visual Studio. You can install the Express Edition for free.
Then, with a quick registry hack you can enable syntax highlighting for PHP, which is darn near good enough for me.
If you're not in need of Perl, I'd recommend WAMP (or here for English version) and either Eclipse PDT or NetBeans PHP.