PHP 7.3 LockedRSS

17 replies

Last post Jun 18, 2019 01:02 AM by mbanavige

  • PHP 7.3

    Dec 06, 2018 10:10 PM|reFX Mike|LINK

    Hi,

    PHP 7.3 was released today, and unfortunately, Winache is not compatible with it.

    php.exe - Entry Point Not Found

    The procedure entry point _array_init could not be located in the dynamic link library C:\PHP7\ext\php_wincache.dll.

    Maybe it has to be recompiled with a newer SDK?

    Cheers,

    Mike

  • Re: PHP 7.3

    Dec 21, 2018 02:07 AM|DRUE|LINK

    This is a message I got from the dev over email:

    Yes, this is on our radar, but prioritized behind several other work items.

    Also, since the internals for 7.3 changed, it will take a bit more effort than simply recompiling.  I can't give an ETA for this work yet.

  • Re: PHP 7.3

    Feb 11, 2019 08:41 AM|marcin44|LINK

    When you plan to build wincache supporting php 7.3

  • Re: PHP 7.3

    Mar 19, 2019 06:41 PM|IMcL|LINK

    Looks like PHP support on IIS isn't a priority for MS any more.

    That's a pity, but there are alternatives.

  • Re: PHP 7.3

    Mar 20, 2019 02:13 PM|marcin44|LINK

    Alternative is Zend OpCache module

    But I have hope that WinCache start support PHP 7.3 some day

  • Re: PHP 7.3

    Mar 20, 2019 02:22 PM|IMcL|LINK

    No, it isn't. Wincache's byte-code cache was removed in v2 in favour of Zend's OpCache, which was brought into the main PHP branch in PHP7. Currently, OPCache does not support anything supported by Wincache.

    So we need alternatives for:

    - resolve cache

    - session cache

    • - user cache

    Or maybe just another operating system

  • Re: PHP 7.3

    May 30, 2019 03:44 PM|topogigio|LINK

    so PHP will not run so well on Windows now? :(

  • Re: PHP 7.3

    May 30, 2019 05:04 PM|Anamera|LINK

    Correct, if performance is a concern, then IIS is no longer a viable hosting platform for PHP based systems (such as WordPress, Typo3, Drupal,...), which means the majority of all web sites on the Internet.

  • Re: PHP 7.3

    May 30, 2019 05:08 PM|reFX Mike|LINK

    topogigio

    so PHP will not run so well on Windows now? :(

    Right now it's working fine. But it seems development has stalled and thus future versions of  PHP (7.3 & 7.4) will not be able to use Wincache.

  • Re: PHP 7.3

    May 30, 2019 05:08 PM|reFX Mike|LINK

    Anamera

    Correct, if performance is a concern, then IIS is no longer a viable hosting platform for PHP based systems (such as WordPress, Typo3, Drupal,...), which means the majority of all web sites on the Internet.

    Right now everything is working fine, so please stop spreading FUD.

  • Re: PHP 7.3

    May 30, 2019 05:23 PM|Anamera|LINK

    reFX Mike

    future versions of  PHP (7.3) will not be able to use Wincache

    FYI Mike, PHP 7.3 is the current version of PHP (since last year), not some "future" version.

    So, no, it certainly is not "working fine" - unless you still run a previous PHP version. 

  • Re: PHP 7.3

    May 30, 2019 05:28 PM|reFX Mike|LINK

    Well, the 7.2 is currently still fully supported and will still receive security updates until November 30th, 2020.

    Looking at the transition guide for PHP authors, it seems that the only changed affecting Wincache is that they changed a function to a macro, so a simple re-compile should actually fix it for PHP 7.3 (and possibly PHP 7.4).

  • Re: PHP 7.3

    May 30, 2019 07:19 PM|Anamera|LINK

    reFX Mike

    simple re-compile should actually fix it for PHP 7.3

    That directly contradicts the reasons given by the team, why an updated build is not available: "internals for 7.3 changed, it will take a bit more effort than simply recompiling". 

    What was your result when you recompiled it?

    FYI: https://github.com/php/php-src/blob/PHP-7.3.1/UPGRADING.INTERNALS#L44-L45  

  • Re: PHP 7.3

    May 30, 2019 11:41 PM|reFX Mike|LINK

    I'll get around that sometime next week. The only error that gets thrown is the missing functions, that have been replaced by macros. All the other stuff mentioned in the internals change shouldn't affect Wincache.

  • Re: PHP 7.3

    May 31, 2019 04:47 AM|lextm|LINK

    If you happen to address that, you might consider forking the repo,

    https://github.com/php/pecl-caching-wincache/network

    and continue the development on WinCache_PHP7 branch. That should help other PHP on Windows users to migrate to PHP 7.3 and above.

    Lex Li
    https://lextudio.com
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: PHP 7.3

    Jun 04, 2019 10:21 PM|RolandRabien|LINK

    I am not familiar with PHP internals, but I took a stab at getting it to compile again. Can anybody code review these changes and see if they look correct?

    https://github.com/FigBug/pecl-caching-wincache/commit/1118d337af8c254b43ab15427006f3f25b37a710

  • Re: PHP 7.3

    Jun 14, 2019 02:43 PM|globules|LINK

    Nice! Any update on this??

  • Re: PHP 7.3

    Jun 18, 2019 01:02 AM|mbanavige|LINK

    There is a WinCache update for PHP 7.3 and PHP 7.4alpha1 !

    Let's all move the discussion to the new announcement thread here.

    https://forums.iis.net/t/1242776.aspx?+Pre+Release+WinCache+for+PHP+7+3+and+PHP+7+4alpha1

    Mike Banavige