Welcome to MSDN Blogs Sign in | Join | Help

basketweaving for the mind

Microsoft, Open source, Web and other random stuff from one of Microsoft's Professonal Geeks

Syndication

News

Contact me

microformats hcard approaching

is a Professional Geek for Microsoft Australia. More info lives underneath my personal blog's About...

33.831416, 151.222526
MrCell+61.417.212181
Work:
1 Epping Road
North Ryde, NSW 2113
Australia
photo of nick hodge

Blog Flair

View Nick Hodge's profile on LinkedIn

msdn channel 9


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:

  1. install IIS7 web server, with the CGI support (note: a version of IIS7 supplied with Vista SP1)
  2. Install Thread-safe PHP from http://windows.php.net/downloads.php
  3. Using the IIS Manager, and module remap .php extensions to the
  4. 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]
  5. 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;

  6. Restart the IIS
  7. Reading the http://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; http://www.jcxsoftware.com/vs.php)

Published Saturday, September 13, 2008 11:30 PM by nhodge

Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Vista as my PHP Developer Workstation : EasyCoded @ Saturday, September 13, 2008 8:37 AM

PingBack from http://www.easycoded.com/vista-as-my-php-developer-workstation/

Vista as my PHP Developer Workstation : EasyCoded

# re: Vista as my PHP Developer Workstation @ Sunday, September 14, 2008 11:39 AM

You should be using the Non-Thread Safe version of PHP if you're going to be using FastCGI.

Trevor

# re: Vista as my PHP Developer Workstation @ Sunday, September 14, 2008 11:03 PM

@Trevor-- good call.

as per  http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70/

"It is recommended to use a non-thread safe build of PHP with IIS 7.0 FastCGI. Non-thread safe build of PHP provides significant performance gains over the standard build by not doing any thread-safety checks, which are not necessary, since FastCGI ensures a single threaded execution environment."

nhodge

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
Page view tracker