After doing some searching on google, it turns out that you can run PHP 32 bit on Windows 2003 R2 64 Bit using the FastCGI Extension for IIS 6.0.   Also, using FastCGI is actually faster the the ISAPI dll.  The steps for setting PHP up to use the FastCGI Extension are pretty straight forward.

  1. Download & Install the FastCGI Extension for IIS 6.0 from iis.net.  Both 32 bit and 64 are available.
  2. Download the latest PHP build from PHP.net
  3. Install PHP

During the install, make sure to select IIS FastCGI in the web server setup.

PHP Setup - Web Server Selection

PHP Setup - Web Server Selection

After installing PHP, follow the directions found at:

http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/

I’m seeing great performance running under this setup as well.   Hope this helps you.

Good Reference Sites:

http://devzone.zend.com/article/2710-FastCGI-and-PHP-A-Users-Story

http://blogs.msdn.com/vijaysk/archive/2007/11/16/iis-6-0-fastcgi.aspx

http://mvolo.com/blogs/serverside/archive/2006/09/29/Making-PHP-rock-on-Windows_2F00_IIS.aspx

{ 0 comments }

PHP 64 Bit for Windows 2003 R2

by Scratty on March 28, 2009

So I’m switching from Mango Blog (ColdFusion) to WordPress (PHP) because I was sick of seeing all the plugins, themes, and support that WordPress was getting and I couldn’t use any of them. Let me tell you, boy am I glad I made the switch. My only problem when installing all of the requirements was that PHP.net doesn’t have a 64 bit version. I needed 64 bit because my IIS server is running 64 bit and some of the other sites on the machine needed 64 bit so I was stuck trying to find a 64 Bit version of PHP.

We’ll turns out there is only 1 site that has a 64 bit version of PHP, Fusion-X Lan.  I downloaded, copied the files, and bamm, works like a charm.   Thank you so much Fusion-X Lan!

{ 0 comments }

CF 8 Ajax with CFSELECT BIND

by Scratty on January 30, 2008

I love the new AJAX functionality in ColdFusion 8, but I am running into problems using it.

As mentioned in Ben Forta’s blog you can use the BIND= attribute on a CFSELECT tag to populate the data from a CFC using AJAX.

The problem I had was that even using Ben’s samples I could not get the data to populate.  After alot of tinkering I finally got it to work by remove the onRequest() method from Application.cfc.  Why this affects this functionality is a mystery to me.  Really for the application I’m working on it’s not a big problem but on other projects it could be.

My second part of the problem is that I have a cfc directory that is OUTSIDE of the application’s root directory.  For example:

/website_root
/components
/images

Then I map /cacfc to /components and reference my cfc’s by prepending cacfc to the component IE. cacfc.database.data.   This works great as I can share components among applications easily enough.  But when I call the cfc with the bind attribute of the CFSELECT, ColdFusion looks for the cfc in the root directory.   Here’s an example:


The AJAX debugger looks for the cfc /school.cfc which obviously doesn’t exist.   If I move the cfc to a directory under the web root (ie /cfc) it works.

Either I am doing something terribly wrong or these are 2 bugs in CF8.

{ 5 comments }

Windows Mobile Device Center and Windows Vista 64 Bit

When I would try and launch Windows Mobile Device Center 6.1 nothing would happen and this error message would show in the event logs: Failed to start the Windows Mobile-based device connectivity service due to EnableRAPIMgr(0×80070005) failure (see data for failure code). When searching the internet for a solution I found the following solution:

Read the full article →