Vista as my PHP Developer Workstation
Prior to joining Microsoft, I always setup my Windows laptop as a PHP/Apache development workstation. Having created my own content management system in PHP (and who hasn’t!) – having a remote development copy is critical.
Over the last few weeks, I have installed the following onto my Vista Ultimate 64-bit laptop and home workstation:
install IIS7 web server, with the CGI support (note: a version of IIS7 supplied with Vista SP1)
Install Thread-safe PHP from https://windows.php.net/downloads.php
Using the IIS Manager, and module remap .php extensions to the
Install php_sqlsrv
_ts.dll which is a part of the Microsoft SQL Server 2005 Driver for PHP, modify the php.ini to launch/activate the extension [see comments below]The following change in the php.ini is also important in an IIS installation
; Set to 1 if running under IIS. Default is zero.
; fastcgi.impersonate = 1;Restart the IIS
Reading the https://forums.iis.net/ I also updated FastCGI (fixes REQUEST_URI)
Development Environments
Everyone has their favourite development environment. I do have Notepad++ installed, and often just resort to Notepad. As I am from Microsoft, I have access to Visual Studio. Searching out for a Visual Studio plugin: I am currently trialling vs.php (Visual Studio PHP; https://www.jcxsoftware.com/vs.php)
Comments
Anonymous
September 13, 2008
PingBack from http://www.easycoded.com/vista-as-my-php-developer-workstation/Anonymous
September 14, 2008
You should be using the Non-Thread Safe version of PHP if you're going to be using FastCGI.Anonymous
September 14, 2008
The comment has been removed