PHP WinCahce extension fails to load with PHP 7.2 [Answered]RSS

4 replies

Last post Jan 29, 2018 11:01 AM by seanvree

  • PHP WinCahce extension fails to load with PHP 7.2

    Jan 27, 2018 04:02 AM|seanvree|LINK

    OS:  windows 10E x64 1709

    IIS:  10

    PHP Version 7.2.1 NTS

    Since installing PHP NTS 7.2 The WinCache extension fails to load with the following error:

    ```

    PHP Warning: PHP Startup: wincache: Unable to initialize module
    Module compiled with module API=20160303
    PHP compiled with module API=20170718
    These options need to match
    in Unknown on line 0

    ```

    Looks like the wincache module hasn't been updated in sometime. Using this link to download:
    https://www.iis.net/downloads/microsoft/wincache-extension


    Any ideas?

  • Re: PHP WinCahce extension fails to load with PHP 7.2

    Jan 27, 2018 04:10 AM|seanvree|LINK

    Looks like the correct location for the download is here:

    http://windows.php.net/downloads/pecl/releases/wincache/2.0.0.8/

    MS should update their download link.

  • Re: PHP WinCahce extension fails to load with PHP 7.2

    Jan 27, 2018 05:36 PM|lextm|LINK

    Microsoft is migrating materials from this site to their new Docs site. However, out-of-date information is not yet all updated. I just opened an issue to see if they can update the information accordingly,

    https://github.com/MicrosoftDocs/iis-docs/issues/128

    Lex Li
    IIS Consulting Services at https://support.lextudio.com/services/consulting.html
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: PHP WinCahce extension fails to load with PHP 7.2

    Jan 29, 2018 03:23 AM|Yuk Ding|LINK

    Hi seanvree,

    It would be appreciated if you could mark your solution as answer. So that people with similar case could be pointed to the right location.

    Best Regards,

    Yuk Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.
  • Re: PHP WinCahce extension fails to load with PHP 7.2

    Jan 29, 2018 11:01 AM|seanvree|LINK

    Sorry about that Yuk. Answered.  Thanks.