Click here to get back home

Doubts about environment differences between php and asp

 HomeNewsGroups | Search | About
 comp.lang.php    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Doubts about environment differences between php and asp Luting 07-16-2008
Posted by Luting on July 16, 2008, 3:59 pm
Please log in for more thread options
Hi everyone,

I am confused about the platform requirements for PHP and ASP.
PHP requires Apache server and php server.
But ASP only require IIS.
I guess IIS is similar functionally to Apache. Then why doesn't ASP
need a asp server like PHP does?

And I heard that PHP is compatible with IIS too. Is that right? How do
I do the configuration in order to run PHP on IIS?

Thanks in advance.

Posted by burgermeister01@gmail.com on July 16, 2008, 4:22 pm
Please log in for more thread options
> Hi everyone,
>
> I am confused about the platform requirements for PHP and ASP.
> PHP requires Apache server and php server.
> But ASP only require IIS.
> I guess IIS is similar functionally to Apache. Then why doesn't ASP
> need a asp server like PHP does?
>
> And I heard that PHP is compatible with IIS too. Is that right? How do
> I do the configuration in order to run PHP on IIS?
>
> Thanks in advance.

Here is the documentation for installing PHP on IIS:
http://www.php.net/manual/en/install.windows.iis.php

I'm really not sure what you're talking about when you use the term
"PHP server"; there's no such thing. PHP has an interpreter, but so
does ASP. I don't know too much about ASP but I can tell you that
everything Microsoft makes is pretty tightly bound together, so that
might be where you get the idea that the ASP interpreter and IIS web
server are one in the same.

Posted by NC on July 16, 2008, 9:02 pm
Please log in for more thread options
>
> I am confused about the platform requirements for PHP and ASP.
> PHP requires Apache server and php server.

There is no such thing as "PHP server". The PHP interpreter exists in
multiple variants, including an Apache module, an IIS module, or a CGI
executable, which can be used with almost any HTTP server (including
deployment using FastCGI, if the HTTP server supports it).

> And I heard that PHP is compatible with IIS too. Is that right?

It is.

> How do I do the configuration in order to run PHP on IIS?

There are three ways to configure PHP under IIS. You can install PHP
interpreter either as a server module or as a CGI executable or as a
FastCGI executable. The exact steps would depend on which
installation option you choose, as well as on the IIS version you are
running.

The PHP Manual has some notes on IIS installation:

http://www.php.net/manual/en/install.windows.iis.php

but they are applicable largely to older versions of IIS, such as IIS
4 and IIS 5.

IIS.Net, meanwhile, has published a bunch of manuals about installing
PHP on IIS 6 and IIS 7:

http://learn.iis.net/themes/iis/pages/search.aspx?q=PHP

Cheers,
NC

Similar ThreadsPosted
Doubts with php5apache2_2.dll June 19, 2006, 1:10 pm
Differences with imap_headerinfo() between PHP 4.3.11 and 4.4.0? August 14, 2005, 5:12 am
Differences between Python and PHP December 17, 2005, 9:59 pm
Version differences January 11, 2006, 9:51 pm
differences of two files? September 7, 2006, 8:49 am
how get differences between text files: help!? January 20, 2007, 2:29 pm
php find differences in multi dimensional arrays November 3, 2006, 12:56 pm
Comparing Pages and Returning Differences as Regular Expressions July 27, 2004, 6:19 pm
CLI environment May 18, 2007, 12:51 pm
CLI environment. May 30, 2007, 5:47 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap