locked
[Pre-Release] WinCache for PHP 7.3 and PHP 7.4alpha1 RRS feed

All replies

  • User-1869701357 posted

    Thank you for your work!! Downloading now

    Tuesday, June 18, 2019 1:10 AM
  • User-76435249 posted

    Thank You, I will start test  WinCache for PHP 7.3 now

    Tuesday, June 18, 2019 7:28 AM
  • User-645267581 posted

    Great news, thank you

    Tuesday, June 18, 2019 8:08 AM
  • User1924036252 posted

    I've used in (after a short local test on my machine) for 14 hours now on our production server (uses the session-cache and lots of user-cache, plus the usual file-cache and resolve-cache) and zero problems so far. Everything looks healthy etc. Great job!

    Tuesday, June 18, 2019 4:57 PM
  • User-1165664085 posted

    Thank you!

    I've been using it under light/development load for the past week, without issues.

    Monday, June 24, 2019 10:36 PM
  • User1192847870 posted

    Excellent work! I did the WinCache installation and run a couple of tests. No problems found!

    Wednesday, June 26, 2019 9:48 AM
  • User1726606273 posted

    Hello,

    where should I add this line in php.ini

    extension = php_wincache.dll

    Last lines in php.ini are 

    [PHP_MBSTRING]
    extension=php_mbstring.dll
    [PHP_OPENSSL]
    extension=php_openssl.dll
    [PHP_SOAP]
    extension=php_soap.dll
    [PHP_XMLRPC]
    extension=php_xmlrpc.dll

    I guess  "extension = php_wincache.dll" shouldn't belong to "[PHP_XMLRPC]"?

    thank you for any suggestion 

    Friday, June 28, 2019 1:42 PM
  • User409000176 posted

    You can put it anywhere.  In the default .ini files (the php.ini-production and php.ini-developement), all the extension=* directives are grouped together.  Just add it to the end of that list.

    As far as I know, the '[<block>]' entries are purely advisory, and don't really affect things.  I'm guessing it's probably used by some .ini aware text editors, but most people use (notepad/vi/vim/emacs/text-editor-of-your-choice).

    Thx!

        --E.

    Friday, June 28, 2019 4:40 PM
  • User409000176 posted

    FYI: The public Web Platform Installer feed has been updated, and WinCache for PHP 7.3 is now available via webpicmd.

    Thx!

        --E.

    Thursday, July 4, 2019 12:49 AM
  • User1726606273 posted
    Hi,
    I have tried to download it via Web Platform Installer.
    It automatically installs also PHP 7.3.1 even I'm using newer version 7.3.6.
    Why is PHP 7.3.6 missing in Web Installer?
    I assume that WinCache is also compatible with php 7.3.6?
    thnx
    S
    Thursday, July 11, 2019 6:05 AM
  • User409000176 posted

    I assume that WinCache is also compatible with php 7.3.6?

    Yes, it's compiled for all 7.3 versions.

    Why is PHP 7.3.6 missing in Web Installer?

    I'm not entirely sure.  I'll ask the WebPI feed folks who owns updating the PHP builds.

    Thx!

        --E.

    Thursday, July 11, 2019 10:38 PM
  • User413363883 posted

    The most recent version I see in WPI GUI and with the commandline  is from 7/5/2018 for PHP 7.2.  As a matter of fact I see nothing related to PHP 7.3 at all for Server 2016 including PHP itself.   

    Thursday, August 1, 2019 9:52 PM
  • User-1165664085 posted

    The "official" WinCache site has yet to be updated:

    IIS.net Downloads Link

    for people who manage their system without the WebPI.

    (PS: I actually had tried to get wepipcmd last month, but never succeeded to download the build that way.)

    And as mentioned elsehwere - the entire WebPI seems frozen in time since last year, so that's not really a suitable/reliable distribution option:

    Outdated WebPI "php" Topic

    Friday, August 2, 2019 3:58 PM
  • User-1196489288 posted

    It seems that the latest PHP version of 7.3.8 does NOT work with 2.0.0.8 version of WinCache. I've tried many different things and nothing works. 7.2.21 with WinCache for 7.2.X works just fine but PHP 7.3.8 with WinCache 7.3.X (IE 2.0.0.8) does NOT work. Please correct me if I'm wrong.

    Using X64 and VC15.

    Friday, August 16, 2019 8:05 PM
  • User-1165664085 posted

    I've been running Winache 2.0.0.8 with 7.3 since that Wincache build came out, and also with 7.3.8 since THAT became available.

    My IIS is running PHP VC15 x64 NTS (Non-Thread-Safe)

    Friday, August 16, 2019 8:56 PM
  • User-1196489288 posted

    Actually I got it working. Totally my fault. Turns out I obviously was doing something wrong. Not sure what. I cleared out everything and tried again after Anamera said it worked and got it working. Sorry again for the post and thank you again for keeping WinCache update to date with the latest versions of PHP!

    Saturday, August 17, 2019 1:41 AM
  • User-765608463 posted

    Thanks for all your efforts with this, any timeline on the PHP 7.4 compatible version now its been released?

    Friday, November 29, 2019 10:05 AM
  • User-1834464154 posted

    Hi and thank you for your work.

    I have installed wincache 7.4 alpha x64 on IIS 10.

    The "PHP Administrator" sees it as "Enabled", but when I launch phpinfo() wincache doesn't shows up.

    Is there an alternative way to check if it's working?

    Thank you

    Thursday, December 5, 2019 8:40 AM
  • User1196255425 posted

    I also installed WinCache 2.0.0.8 x64 alpha1 for PHP 7.4 and I can confirm that it is not loaded.

    When I check loaded extensions with

    php -r "print_r(get_loaded_extensions());"

    it tells me:

    php.exe - Entry Point Not Found
    ---------------------------
    The procedure entry point php_error_docref0 could not be located in the dynamic link library ***pathtophp74***\ext\php_wincache.dll.

    Wednesday, December 11, 2019 8:29 AM
  • User-2136121807 posted

    Any update for 7.4 now that it's released? The 7.4.0alpha1 dlls don't load. 

    Friday, December 20, 2019 7:32 PM
  • User-1045777560 posted

    Hi there,

    https://sourceforge.net/projects/wincache/files/development/wincache-2.0.0.8-dev-7.4.0alpha1-nts-vs16-x64.exe

    Running Server 2016 IIS 10 and PHP 7.4.1 x64 and when I try and load WinCache (looking in php-cgi.exe) I get the following error:

    PHP Warning: PHP Startup: Unable to load dynamic library 'php_wincache.dll' (tried: c:\Program Files\PHP 7.4.1 x64\ext\php_wincache.dll (The specified procedure could not be found.), c:\Program Files\PHP 7.4.1 x64\ext\php_php_wincache.dll.dll (The specified procedure could not be found.)) in Unknown on line 0
    <br />
    <b>Warning</b>: PHP Startup: Unable to load dynamic library 'php_wincache.dll' (tried: c:\Program Files\PHP 7.4.1 x64\ext\php_wincache.dll (The specified procedure could not be found.), c:\Program Files\PHP 7.4.1 x64\ext\php_php_wincache.dll.dll (The specified procedure could not be found.)) in <b>Unknown</b> on line <b>0</b><br />

    I noticed the 2nd message filename doesnt look right, extra php & dll in the name. I tried taking a copy of the php_wincache.dll file and naming it to php_php_wincache.dll.dll and having the 2 files there but that made no difference.  I even made sure the files were present by verifying the paths in PowerShell.

    PS C:\Users\Administrator> Get-Item -Path "c:\Program Files\PHP 7.4.1 x64\ext\php_wincache.dll"


    Directory: C:\Program Files\PHP 7.4.1 x64\ext


    Mode LastWriteTime Length Name
    ---- ------------- ------ ----
    -a---- 17/06/2019 16:47 138240 php_wincache.dll


    PS C:\Users\Administrator> Get-Item -Path "c:\Program Files\PHP 7.4.1 x64\ext\php_php_wincache.dll.dll"


    Directory: C:\Program Files\PHP 7.4.1 x64\ext


    Mode LastWriteTime Length Name
    ---- ------------- ------ ----
    -a---- 17/06/2019 16:47 138240 php_php_wincache.dll.dll


    I tried to register the dll manually

    c:\Program Files\PHP 7.4.1 x64\ext>regsvr32 php_wincache.dll

    But got the following error:

    The module "php_wincache.dll" failed to load.

    Wednesday, January 1, 2020 11:24 PM
  • User-1196489288 posted

    As other users have mentioned WinCache for PHP 7.4.1 does not load. The error in the PHP log file is "The specified procedure could not be found.". Any update on when this will be fixed?

    Thursday, January 2, 2020 8:15 AM
  • User-2136121807 posted

    Any updates? 7.4.1 is released now and no updates at all. 

    Friday, January 3, 2020 9:40 PM
  • User-2135643004 posted

    I'm also missing WinCache compatibility with PHP 7.4.1 nts.

    The problem could be related to this statement (from windows.php.net):

    We used Visual Studio 2019 to build the early releases of PHP 7.4 (up to and including 7.4.0beta2). And although Visual Studio 2019 is generally an improvement over Visual Studio 2017, due to compatibility issues we have decided to switch back to Visual Studio 2017 for our PHP 7.4 builds, and we are planning to stick with this for the complete lifetime of PHP 7.4.

    It could definitely be the root of the problem - it was compiled with another Visual Studio. Could anyone try to just recompile?

    Thank you.

    Thursday, January 16, 2020 2:39 PM
  • User-1196489288 posted

    WinCache has been updated for PHP 7.4.1. Please download at https://sourceforge.net/projects/wincache/. At this time I'm showing no errors.

    Thursday, January 23, 2020 7:40 AM
  • User1196255425 posted

    ryankekos

    WinCache has been updated for PHP 7.4.1. Please download at https://sourceforge.net/projects/wincache/. At this time I'm showing no errors.

    I can confirm that this update is working as expected. WinCache is now correctly loaded.

    Thank you for the update!

    Thursday, January 23, 2020 1:27 PM
  • User-1165664085 posted

    Thanks - confirmed working with PHP 7.4.2.

    Wednesday, February 5, 2020 10:17 PM
  • User1640174264 posted

    Any idea when the Web Platform Installer version will be released for PHP 7.4 x64? In WPI, it is published but the link is wrong, as the file does not exist - https://sourceforge.net/projects/wincache/files/wincache-2.0.0/wincachewpi-2.0.0.8-7.4-nts-vc15-x64.exe/download

    Friday, April 24, 2020 2:36 PM
  • User-1170642558 posted

    Getting a crash (access violation) caused by 2.0.0.8 version of php_wincache.dll when running on PHP 7.3.7.

    More detail is here in my post.

    https://forums.iis.net/p/1250936/2161507.aspx?IIS+10+and+Wordpress+getting+crashes

    Let me know if you need any more info.

    Thursday, July 16, 2020 8:56 PM