Slashdot Mirror


Microsoft Releases IIS FastCGI Module

Marcy writes "Microsoft has just announced the final release of the IIS FastCGI module for IIS 5.1 (XP), 6 (2003), and 7 (2008). This FastCGI module was built with collaboration from Zend, the creators of PHP, and is intended to solve the CGI on Windows problem." It's free as in beer.

14 of 269 comments (clear)

  1. On a similar note, Python + PHP via FastCGI by Bogtha · · Score: 4, Interesting

    One thing I've been keeping an eye on is WPHP. It's only alpha-quality at the moment, but it's basically a WSGI application (WSGI is the standard Python web application interface) with a FastCGI backend that runs PHP. With something like this, you can mix and match PHP and Python — for example, you could write an authentication handler in Python and link it to a legacy PHP application.

    --
    Bogtha Bogtha Bogtha
  2. Re:Problem? by Saint+Stephen · · Score: 4, Informative

    "Forking" (launching) a process is much more expensive on Windows than it is on Linux. Windows NT is architected after VMS (in part because of Dave Cutler). Processes are expensive on windows.

  3. Zend + MS by thatskinnyguy · · Score: 4, Insightful

    This FastCGI module was built with collaboration from Zend, the creators of PHP, and is intended to solve the CGI on Windows problem. Glad to see that we all can get along.
    --
    The game.
  4. Re:Why bother? by El+Lobo · · Score: 4, Insightful

    The only problem is that IIS7 and even II6 have so few critical vulnerabilities that Apache IS a nightmare in comparation. let's no talk about text file configuration....

    --
    It's time to realise that Abble's products are the biggest abomination these days. Just say NO to the dumb iAbble way!!
  5. Re:free as in beer? by EricWright · · Score: 5, Funny

    The "free as in beer" thing really annoys me. I've NEVER seen free beer, anywhere! I propose we all stop using this ridiculous phrase and start using "free as in air" instead.

    Now, if there IS free beer being offered somewhere, just point me in the right direction.

  6. Rasmus Lerdorf must be pissed today by mshmgi · · Score: 4, Interesting

    Since when did Zend "create" PHP?

    1. Re:Rasmus Lerdorf must be pissed today by PHPfanboy · · Score: 5, Informative
      Hi, I work for Zend (not in Marketing dept.) - this issue comes up every time it's written in the press or other interviews. It's not how we market ourselves, and every time we're quoted as "the creators of PHP" Zeev and Andi get hauled over the coals by the PHP development community. It's not the first time and probably not the last time this has happened. For the record, this is how Zend markets itself:

      Zend is the PHP company.
      Businesses utilizing PHP know Zend as the place to go for PHP expertise and sound technology solutions. Andi Gutmans and Zeev Suraski, two of Zend's founders, are key contributors to PHP and creators of the open source Zend Engine. Because of their internationally recognized authority, the company and its founders continue to play leadership roles in the PHP and open source communities, and are accountable for a central role in the explosive growth of PHP.
      Slighty different, I think you'll agree.
      Happy PHP'ing
      --
      29 mpg. YMMV.
  7. Re:Why bother? by sydb · · Score: 4, Insightful
    What's wrong with text file configuration? Some people happen to like it. For good reasons, like:

    • you see your config right there in front of you
    • you can do scripted configuration using standard unix tools
    • you can archive config files and see what they do just by looking at them
    • you can run diffs against configs
    • you can adopt your own standards for commenting changes
    • you can put your config in an SCM tool


    Just because you don't know how to do it doesn't mean it's not a huge advantage for those of us who do.
    --
    Yours Sincerely, Michael.
  8. Re:Stop the insanity. by deniable · · Score: 4, Informative

    I was in a small shop where we already had IIS to run things like Outlook Web Access. IIS also made it easy to have integrated AD authentication and access controls, so we had single sign on.

    Rather than running another box or supporting a VM image to run apache, it's easier just to make do with IIS. The point of this article is that MS is making IIS play better for people from the PHP/fcgi side of things.

    We did however run the outside web server on apache on an ancient almost broken P166 and it ran well.

  9. Re:Why bother? by jimstapleton · · Score: 5, Interesting

    Actually, IIS does have text file configuration also - the metabase.

    That's one thing I like about it - I can edit the text file OR use the GUI.

    The caveat is the text-file is XML, the pro is that it's structure in such a way that it's not as painful to edit by hand as normal XML. Also, there's a log file in the same directory that produces really helpful error messages if you screw up editing it by hand.

    Having used both, I find neither significantly better/easier to administrate. They are just different

    --
    34486853790
    Connection too slow for X forwarding? Try "ssh -CX user@host"
  10. ah, php by Jessta · · Score: 4, Funny

    ah php, the unholy merger of c/c++, perl and java.

    --
    ...and that is all I have to say about that.
    http://jessta.id.au
  11. Re:Problem? by EvanED · · Score: 5, Informative

    I think it is somewhat more expensive...

    It's a lot more expensive. Some numbers MSR came up with while working on their research OS Singularity put process creation on Linux at ~700,000 cycles, just over 1 million on FreeBSD, and just under 5.4 million cycles on XP. Here's one source; slide 23.

    I'm not arguing against your main point; I'm just pointing out that there is actually a huge difference between process creation time on the different systems.

  12. Re:Why bother? by sqldr · · Score: 4, Interesting

    Most have a series of tabs/menus that allow a drill-down type search.

    That's not useful. I don't want to have to "drill down", I want to search for a keyword. Say I've got several hosts, and I want to see everything specifically relating to an IP address. I search for the text of the IP address. For beginners looking to change one option, complex GUIs are a mass of buttons and tabs, rather than something they can search for.

    Turn off the options you don't want - same way you would in a command line.

    I don't want to turn them off, I want to remove all reference to them.

    If the GUI attaches to the registry, export the hive and attach it.

    That's not useful. I want to mail the config so someone can read it, eg. paste my config to a newsgroup to ask a question when I'm stuck. The usual equivalent in windows-land is you spend days searching for stuff and getting dumb meaningless error messages ("please check that the domain controller is both locatable and contactable" - hey I know, Mr Paperclip, why don't YOU tell ME whether it was either unlocatable or uncontactable or both..), then eventually you find the answer on someone smug bloke's blog with a mugshot of him in the corner and 1000s of thankyou messages, rather than anywhere on MSDN. (incidentally, that error was nothing to do with the server being unlocatable or contactable, but being windows, I couldn't do a trace on it to find out where it was breaking, I just had to click "OK" and try something else).

    Yep, text-y configs you can't change things they don't give you options for either!

    Text-y configs usually have some level of scriptability, eg. "IfDefined" in apache. Syntax that might apply to one feature will usually apply to all features, making things a lot more versatile.
    Another advantage of text configuration is that you can arrange the order of the file according to what's important. You can also add comments.

    --
    I wrote my first program at the age of six, and I still can't work out how this website works.
  13. Re:Problem? by A+nonymous+Coward · · Score: 5, Funny

    "architected" is not a word, since "architect" is not a verb

    A. You're wrong. English is a living language. Any word that people understand as a verb is a verb. You understood what was written, therefore you are lying.

    B. Your conclusion ("architected" is not a word) does not automatically follow from your premise (since "architect" is not a verb). Your logic is not logical.

    C. Any grammer nazi who does not capitalize the first word in a sentence is a hypocrite.

    D. Any grammar nazi who does not end sentences with a period is a hypocrite.

    E. Any grammar nazi who complains that the "nazi" in "grammar nazi" should be capitalized does not understand how words can be used in a generic sense and thus no longer be proper names.

    F. Grammar nazis suck.