Author |
|
Otomatic
Joined: 01 Sep 2011 Posts: 212 Location: Paris, France, EU
|
Posted: Mon 13 Jul '20 17:16 Post subject: |
|
|
Hi,
PHP 8 alpha2
Whether with the version coming from https://windows.php.net/qa/ or the Jan-E version, locally with Wampserver and Apache 2.4.43 - all in 64 bit - I systematically get errors in apache_error.log
VirtualProtect() failed [87] Paramètre incorrect. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Tue 14 Jul '20 13:52 Post subject: |
|
|
If you load opcache with zend_extension=opcache try de-acivating it. If it is not loaded yet, try loading it by adding zend_extension=opcache to your php.ini. |
|
Back to top |
|
timo
Joined: 03 Jun 2012 Posts: 45 Location: FI, EU
|
Posted: Thu 06 Aug '20 17:45 Post subject: |
|
|
Jan-E, php_win32service.dll is not included in your PHP 8 builds.
Would it be possible to include it?
I have some php CLI scripts that depend on it. They run fine now with PHP 7.4, and I'd like to keep them running also with PHP 8. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Mon 10 Aug '20 9:26 Post subject: |
|
|
timo wrote: | Jan-E, php_win32service.dll is not included in your PHP 8 builds.
Would it be possible to include it?
I have some php CLI scripts that depend on it. They run fine now with PHP 7.4, and I'd like to keep them running also with PHP 8. |
Thanks for asking. Your question made me look at the sources and I discovered they had a special branch for PHP8, besides the main branch: https://github.com/win32service/win32service/tree/v1.0.x
The extension is included in PHP 8.0.0 beta 1 now. |
|
Back to top |
|
timo
Joined: 03 Jun 2012 Posts: 45 Location: FI, EU
|
Posted: Tue 11 Aug '20 8:57 Post subject: |
|
|
Thanks a lot, Jan-E |
|
Back to top |
|
laurin1
Joined: 26 Oct 2014 Posts: 74 Location: Flower Mound, TX
|
Posted: Sat 15 Aug '20 14:21 Post subject: |
|
|
Will there not be a build for 7.4.9? |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Thu 20 Aug '20 0:19 Post subject: |
|
|
The maintainers of the SQLSRV extension fixed the PHP 8 compilation. |
|
Back to top |
|
laurin1
Joined: 26 Oct 2014 Posts: 74 Location: Flower Mound, TX
|
Posted: Sat 22 Aug '20 18:16 Post subject: |
|
|
When I posted about no 7.4.9, all that was on that page was the RC1 build. |
|
Back to top |
|
Otomatic
Joined: 01 Sep 2011 Posts: 212 Location: Paris, France, EU
|
Posted: Wed 09 Sep '20 11:41 Post subject: |
|
|
Jan-E wrote: | If you load opcache with zend_extension=opcache try de-acivating it. If it is not loaded yet, try loading it by adding zend_extension=opcache to your php.ini. |
Hi,
opcache is loaded by zend_extension=full path of the dll file
zend_extension="E:/wamp64/bin/php/php8.0.0b3/ext/php_opcache.dll"
It is sure that by deactivating the loading, there is no more error, Monsieur de la Palice would have said as much! This is a truism!
;zend_extension="E:/wamp64/bin/php/php8.0.0b3/ext/php_opcache.dll"
but, even by reading the PHP documentation, I couldn't find how to load opcache and not have any error. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
akaHaki
Joined: 18 Sep 2015 Posts: 12
|
Posted: Tue 22 Sep '20 10:40 Post subject: |
|
|
Is it possible to add a library from the build - php_redis.dll? |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Wed 30 Sep '20 19:46 Post subject: |
|
|
akaHaki wrote: | Is it possible to add a library from the build - php_redis.dll? |
Included now. You will have to load igbinary first. |
|
Back to top |
|
Otomatic
Joined: 01 Sep 2011 Posts: 212 Location: Paris, France, EU
|
Posted: Fri 30 Oct '20 11:41 Post subject: |
|
|
Otomatic wrote: | Hi,
PHP 8 alpha2
Whether with the version coming from https://windows.php.net/qa/ or the Jan-E version, locally with Wampserver and Apache 2.4.43 - all in 64 bit - I systematically get errors in apache_error.log
VirtualProtect() failed [87] Paramètre incorrect. |
By adding in php.ini, section [opcache] the following directive:
Code: | ; To avoid errors VirtualProtect() failed [87] Incorrect parameter
; in apache_error.log
opcache.jit=off |
there are no more errors. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Fri 30 Oct '20 13:06 Post subject: |
|
|
Yes, sadly enough: Opcache JIT is not supported with huge code pages on Windows. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Thu 19 Nov '20 22:18 Post subject: |
|
|
PHP 8.0.0 will be released on 26 Nov 2020. The builds of RC5 contain a lot of new extensions that have been adapted to build with PHP 8. |
|
Back to top |
|
timo
Joined: 03 Jun 2012 Posts: 45 Location: FI, EU
|
Posted: Mon 23 Nov '20 15:59 Post subject: |
|
|
Jan-E wrote: | Yes, sadly enough: Opcache JIT is not supported with huge code pages on Windows. |
What does 'huge' codepages mean?
- UTF-codepages?
- Something else? |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|