« Previous Next »

Answered Thread: HTML and PHP sites

Last post 09-17-2008 2:16 AM by murtaza_t. 14 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (15 items)

Sort Posts:

  • 05-23-2008, 5:48 PM

    HTML and PHP sites

    Hello

     

    I need your help with the following question:

    do static html sites or php sites need an application created in IIS?

    I can't find an answer for this on the net.

     

    Thank you for your answer!

     Nuno

  • 05-25-2008, 5:21 AM In reply to

    Re: HTML and PHP sites

    every web site need ad application pool :)

    For PHP

    Security Isolation for PHP Web Sites

    The recommendation for isolating PHP web sites in a shared hosting environment is consistent with all general security isolation recommendations for IIS 7.0. In particular, it is recommended to:

    • Use one application pool per web site
    • Use user account as an identity for application pool
    • Configure anonymous user identity to use the application pool identity
    • Ensure that FastCGI impersonation is enabled in php.ini file (fastcgi.impersonate=1)

    Taken from: http://learn.iis.net/page.aspx/208/fastcgi-with-php/

    Christian Paparelli
    [Microsoft MVP Window Server - IIS]
    http://mvp.support.microsoft.com
    http://italy.mvps.org
    My job: http://www.ithost.ch
    My blog: http://blogs.aspitalia.com/cp
  • 05-25-2008, 5:50 AM In reply to

    • DanGold
    • Not Ranked
    • Joined on 05-25-2008, 9:48 AM
    • Ukraina
    • Posts 2

    Re: HTML and PHP sites

     can speak Ukrain lang xD

  • 05-25-2008, 11:40 AM In reply to

    Re: HTML and PHP sites

    Even HTML static sites need an application pool?

     Nuno

  • 05-25-2008, 12:38 PM In reply to

    Re: HTML and PHP sites

    for html static a default application pool is enough but i prefer everytime a dedicated application pool for each customer.

    Christian Paparelli
    [Microsoft MVP Window Server - IIS]
    http://mvp.support.microsoft.com
    http://italy.mvps.org
    My job: http://www.ithost.ch
    My blog: http://blogs.aspitalia.com/cp
  • 05-25-2008, 5:56 PM In reply to

    Re: HTML and PHP sites

    But i have an error in my IIS6 (I think).

    When I Click 'create an application' for tohse sites, IIS does nothing (it does not create the application) and other setting like the application name or pool are grayed.

    What sould I do?

     Thank you

    Nuno

  • 05-26-2008, 3:26 AM In reply to

    Re: HTML and PHP sites

    wait the button "create an application" create a new application folder and it's necessary when you are using a different web.config, global.asax (with asp.net) or global.asa (with asp classic).

    Application pool it's completly different i suggest to read this document

    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/67e39bd8-317e-4cf6-b675-6431d4425248.mspx?mfr=true

     

    Christian Paparelli
    [Microsoft MVP Window Server - IIS]
    http://mvp.support.microsoft.com
    http://italy.mvps.org
    My job: http://www.ithost.ch
    My blog: http://blogs.aspitalia.com/cp
  • 05-26-2008, 2:56 PM In reply to

    Re: HTML and PHP sites

    I think you didn't understand my problem.

    I already have the web site created in IIS6, and when I click "create an application", nothing happens (as it usually does on other sites).

    I cannot change the application pool of the site because the application is not created in IIS, so the list box to select the application pool is grayed out.

    Thanks for your help.

     Nuno

  • 05-26-2008, 3:30 PM In reply to

    Re: HTML and PHP sites

    have you tried to create a new web site?

    Christian Paparelli
    [Microsoft MVP Window Server - IIS]
    http://mvp.support.microsoft.com
    http://italy.mvps.org
    My job: http://www.ithost.ch
    My blog: http://blogs.aspitalia.com/cp
  • 05-26-2008, 5:20 PM In reply to

    Re: HTML and PHP sites

    Thanks Christian I just solved the problem.

    I edited directly the IIS metabase xml file, removed a lot of old trash, and everything works fine now! (all this was done very carefully and with a lot of backups...)

    One last question:

    Should I select "enable content expiration" on IIS for dynamic sites (like asp .net sites)?
    I am asking this question because on these asp .net sites I also have static content like html pages and images.

    THANKS A LOT FOR ALL YOUR HELP !!!!!!!

    Nuno

  • 05-27-2008, 3:08 AM In reply to

    Answered Re: HTML and PHP sites

    Should I select "enable content expiration" on IIS for dynamic sites (like asp .net sites)?
    I am asking this question because on these asp .net sites I also have static content like html pages and images.

    For static content i suggest to enable content expiration for a better optimization, take a look here

    http://technet2.microsoft.com/windowsserver/en/library/b09acb27-de54-4709-9953-35346c9716771033.mspx?mfr=true
    http://weblogs.asp.net/lkempe/archive/2007/07/25/optimization-of-a-web-site-using-content-expiration-iis-6-0.aspx

    Christian Paparelli
    [Microsoft MVP Window Server - IIS]
    http://mvp.support.microsoft.com
    http://italy.mvps.org
    My job: http://www.ithost.ch
    My blog: http://blogs.aspitalia.com/cp
  • 05-31-2008, 9:39 AM In reply to

    • johnly
    • Not Ranked
    • Joined on 05-31-2008, 12:23 PM
    • Posts 6

    Re: HTML and PHP sites

  • 06-02-2008, 3:57 AM In reply to

    • kartheek.n
    • Top 150 Contributor
    • Joined on 05-28-2008, 11:39 AM
    • Bangalore
    • Posts 37

    Re: HTML and PHP sites

    Are U talking about an application or an application pool in IIS. Because Application is created using any langauge like Html,Php,.NET,Java.....etc and this application is deployed in IIS by creating a website and that web site is Isolated from other applications by using Application Pool. Hope u can get info from above statement.

            And for enabling content expired, that completely ur choice if I am not wrong. This feature actually helps ur website page or content will expire from users browser cache according to the options given in IIS. when ur website(i.e Application) contain secured data then u must enable if not then no need, it depends upon U....

    Kartheek N
  • 09-14-2008, 12:54 AM In reply to

    Re: HTML and PHP sites

    Christian Paparelli:

    for html static a default application pool is enough but i prefer everytime a dedicated application pool for each customer.

    In the above statement, if there a single application used by multiple customers, then what would you suggest?

  • 09-17-2008, 2:16 AM In reply to

    Re: HTML and PHP sites

     In my experience of 4 year I have noticed that server which is configured to have a dedicated pool for every site is more resources consuming (specially RAM) and since every application run its own process the list of active processes becomes very long and some times IIS even stops responding and requires a restarted due memory consumption by the w3svc processes (Our servers have minimum 12 GB RAM on each).

    So in my opimion "If you run high number of websites then give separate application pool to a site only if it is required.."

Page 1 of 1 (15 items)
Microsoft Communities