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.
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.
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.
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).
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".
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.
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
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
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?
40 Posts
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
27 Posts
Re: PHP 7.3
Dec 21, 2018 02:07 AM|DRUE|LINK
This is a message I got from the dev over email:
3 Posts
Re: PHP 7.3
Feb 11, 2019 08:41 AM|marcin44|LINK
When you plan to build wincache supporting php 7.3
3 Posts
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.
3 Posts
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
3 Posts
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
Or maybe just another operating system
7 Posts
Re: PHP 7.3
May 30, 2019 03:44 PM|topogigio|LINK
so PHP will not run so well on Windows now? :(
13 Posts
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.
40 Posts
Re: PHP 7.3
May 30, 2019 05:08 PM|reFX Mike|LINK
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.
40 Posts
Re: PHP 7.3
May 30, 2019 05:08 PM|reFX Mike|LINK
Right now everything is working fine, so please stop spreading FUD.
13 Posts
Re: PHP 7.3
May 30, 2019 05:23 PM|Anamera|LINK
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.
40 Posts
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).
13 Posts
Re: PHP 7.3
May 30, 2019 07:19 PM|Anamera|LINK
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
40 Posts
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.
8961 Posts
MVP
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.
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
1 Post
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
2 Posts
Re: PHP 7.3
Jun 14, 2019 02:43 PM|globules|LINK
Nice! Any update on this??
44 Posts
Moderator
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