Install PHP5.6 Under Windows Server 2012 IIS 8

I think this may help you;

http://php.net/manual/en/install.windows.iis7.php

The process is:

A  – Download the latest zip distribution for windows from http://windows.php.net/download/

B – Unzip the archive under c:Php

C – Update your php.ini file: – Configure CGI- and FastCGI settings in your php.ini such as

Fastcgi.impersonate = 1
fastcgi.logging = 0
cgi.fix_pathinfo = 1
cgi.force_redirect = 0

D - Then in Windows type inetmgr into run under the start menu.

E – Select the server node in the window that opens which is in the connections tree.

1

F – In the central pane, known as the features view, openthe Handler Mappings feature.

2 - Copy

F1 – In the actions pane click **Add Module Mapping…”

G – Use these details to fill in the blanks;

Request path: *.php
Module: FastCgiModule
Executable: C:[path to php install]php-cgi.exe
Name: PHP_via_FastCGI
1 - Copy

G2 – Click request restrictions and then configure the mapping to invoke handler only if request is mapped to a file or folder.

G3 – Click okay on all dialogues to save the config.

You should restart IIS once you’re done.

 

PS: If you encounter the following error:

The program can’t start because MSVCR110.dll is missing from your computer. Try reinstalling the problem to fix this problem.

you will need VS C++ 2012 (not 2010 as advertised). Go here: http://www.microsoft.com/en-us/download/details.aspx?id=30679

You need to download the x86 version (if you install the 64bit version it will give the same error)

Updating controls via JQuery from inside an UpdatePanel

Recently we encountered an issue when we were trying (unsuccessfully) to update a link outside an Ajax UpdatePanel using jQuery.
We wrote the change events and we noticed that they only fired once and no more. Clicking on the tickbox proved to be futile. Not even 317 clicks seemed to work.
original

After a bit of research, we found out that the Update Panels only subscribe to the page load event once and afterwards they drop the events, unless you rebind them once more.
To rebind them, you need to call the PageRequestManager and connect to the endRequest method.

var prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_endRequest(function () {…});

$('#ctl00_ContentPlaceHolder1_chkLinkedSuppliers').on('change', function () {
        if ($('#ctl00_ContentPlaceHolder1_lnkAuditReport2').length > 0)
        {
            var href = $('#ctl00_ContentPlaceHolder1_lnkAuditReport2').attr("href");
            ///Reports/AuditReport2.aspx?ID=21074&ShowAll=0&ShowAllSystems=0&ShowAllCompanies=0&ShowAllLinked=1
            href = href.replace("&ShowAllLinked=1","").replace("&ShowAllLinked=0","");
            if($(this).is(":checked")) {
                href = href + "&ShowAllLinked=1";
            }else{
                href = href + "&ShowAllLinked=0";
            }

            $('#ctl00_ContentPlaceHolder1_lnkAuditReport2').attr("href", href);
        }

    });

    var prm = Sys.WebForms.PageRequestManager.getInstance();

    prm.add_endRequest(function () {
        // re-bind your jQuery events here

        $('#ctl00_ContentPlaceHolder1_chkLinkedSuppliers').on('change', function () {
            if ($('#ctl00_ContentPlaceHolder1_lnkAuditReport2').length > 0) {
                var href = $('#ctl00_ContentPlaceHolder1_lnkAuditReport2').attr("href");
                ///Reports/AuditReport2.aspx?ID=21074&ShowAll=0&ShowAllSystems=0&ShowAllCompanies=0&ShowAllLinked=1
                href = href.replace("&ShowAllLinked=1", "").replace("&ShowAllLinked=0", "");
                if ($(this).is(":checked")) {
                    href = href + "&ShowAllLinked=1";
                } else {
                    href = href + "&ShowAllLinked=0";
                }

                $('#ctl00_ContentPlaceHolder1_lnkAuditReport2').attr("href", href);
            }

        });

It worked like a charm!

"text/javascript">
    function BindControlEvents() {
        //jQuery is wrapped in BindEvents function so it can be re-bound after each callback.
        //Your code would replace the following line:
            $('#').limit('100', '#charsLeft_Instructions');
    }

    //Initial bind
    $(document).ready(function () {
        BindControlEvents();
    });

    //Re-bind for callbacks
    var prm = Sys.WebForms.PageRequestManager.getInstance();

    prm.add_endRequest(function() {
        BindControlEvents();
    });