Author |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Sun 21 Jul '19 7:22 Post subject: |
|
|
jimski wrote: | On the next release perhaps you could also include php_redis which is another underappreciated extension. I'm surprised that so few developers use either one of them. |
Apparently, the redis maintainers did fix the build for PHP 7.4. See https://phpdev.toolsforresearch.com/php-7.4.0alpha3-Win32-vs16-x86.htm
The other 3 also have a php_redis.dll, but I already removed my local copies before I noticed it and adjusted the php.ini. |
|
Back to top |
|
jimski
Joined: 18 Jan 2014 Posts: 196 Location: USSA
|
Posted: Wed 24 Jul '19 23:25 Post subject: |
|
|
Great, thank you.
I routinely use Redis for communication between scripts and/or servers. This is a fast, clean, and secure way to pass data and then dispose of it automatically (using the expiration parameter) without engaging SQL database. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Sat 03 Aug '19 15:37 Post subject: |
|
|
Steffen wrote: | It is only a PHP start up check and is new in PHP 7.4; it has been introduced to ensure that only modules which have been built with a linker version less than or equal to the linker version which has been used to built the core can beloaded, just to prevent eventual issues wrt. dynamic loading. The coming 7.4.0alpha2 should be build at least with 14.21. |
Nasty issue after the upgrade to VS 16.2 and thus build tools 14.22:
https://github.com/winlibs/libiconv/issues/9
Ouch experience. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Tue 06 Aug '19 21:08 Post subject: |
|
|
For the moment I am still building with the 14.21 build tools. So, my 7.4.0 Beta 2's use 14.21. |
|
Back to top |
|
jfcherng
Joined: 17 Jun 2019 Posts: 11 Location: Taiwan
|
Posted: Wed 21 Aug '19 12:55 Post subject: |
|
|
The official 7.4 build moves back to vc15 somehow |
|
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: Wed 21 Aug '19 14:57 Post subject: |
|
|
https://windows.php.net/#news-2019-08-21-1
Quote: | PHP 7.4 builds use Visual Studio 2017
21 Aug 2019
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, particularly the linker/object format is not as stable as we would like (we had to rebuilt dependency packages several times, and got trouble reports from others who have not been able to build with the provided dependency packages), and its adoption is not as widespread as desired (for instance, AppVeyor would still not allow us to do our CI with VS 2019 without extra effort). To be able to offer the smoothest and most stable experience, 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.
Our master snapshots are still built with Visual Studio 2019, and we are planning to stick with Visual Studio 2019 for PHP 8.0. |
|
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3095 Location: Hilversum, NL, EU
|
Posted: Wed 21 Aug '19 15:24 Post subject: |
|
|
News is updated, also with Apachelounge info:
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.
Note that it is still possible to use Apache VS16 builds from Apachelounge in combination with PHP 7.4, since VS 2019 is forward compatible with VS 2017.
Our master snapshots are still built with Visual Studio 2019, and we are planning to stick with Visual Studio 2019 for PHP 8.0. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Wed 04 Dec '19 7:07 Post subject: |
|
|
PHP 7.2.26RC1 will be the last ever RC for PHP 7.2, because PHP 7.2 enters the stage of 'security fixes only'.
See: https://www.php.net/supported-versions.php
PHP-7.2.26 is branched and will be the last 7.2 bugfix release
PHP-7.2 now enters security support for 1 year. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Wed 01 Jul '20 1:03 Post subject: |
|
|
Added PHP 8.0.0 Alpha 1. Only a few of the additional extensions compile at the moment, but that will gradually grow. |
|
Back to top |
|
akaHaki
Joined: 18 Sep 2015 Posts: 12
|
Posted: Wed 01 Jul '20 9:43 Post subject: |
|
|
The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 189 of D:/WEB/apache/conf/httpd.conf: Can't locate API module structure `php8_module' in file D:/WEB/php/php8apache2_4.dll: No error .
httpd.conf:
LoadModule php8_module D:/WEB/php/php8apache2_4.dll
ScriptAlias /_php_/ "D:/WEB/php"
PHPIniDir "D:/WEB/php" |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Wed 01 Jul '20 9:50 Post subject: |
|
|
Are you getting the same error with the official PHP 8 builds at https://windows.php.net/qa/ ? |
|
Back to top |
|
akaHaki
Joined: 18 Sep 2015 Posts: 12
|
Posted: Wed 01 Jul '20 10:05 Post subject: |
|
|
yes |
|
Back to top |
|
spser
Joined: 29 Aug 2016 Posts: 97
|
Posted: Wed 01 Jul '20 10:06 Post subject: |
|
|
16:06:13 [52719] 错误 The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 415 of D:/Qampp/apache/conf/httpd.conf: Syntax error on line 7 of D:/Qampp/apache/conf/extra/httpd-qampp.conf: Can't locate API module structure `php8_module' in file D:/Qampp/php/php8apache2_4.dll: No error .(2020-07-01 16:06:11)
16:06:08 [Apache] 尝试启动 Apache 服务...
16:06:08 [Apache] Err:httpd.exe: Syntax error on line 415 of D:/Qampp/apache/conf/httpd.conf: Syntax error on line 7 of D:/Qampp/apache/conf/extra/httpd-qampp.conf: Can't locate API module structure `php8_module' in file D:/Qampp/php/php8apache2_4.dll: No error |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Wed 01 Jul '20 10:10 Post subject: |
|
|
Then you should report it as bug on https://bugs.php.net
Sara Golemon in php.qa (Thu, 25 Jun 2020 11:52:14 -0500):
|
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3095 Location: Hilversum, NL, EU
|
Posted: Wed 01 Jul '20 12:54 Post subject: |
|
|
Try:
LoadModule php_module D:/WEB/php/php8apache2_4.dll (so not php8_module) |
|
Back to top |
|
spser
Joined: 29 Aug 2016 Posts: 97
|
Posted: Thu 02 Jul '20 4:05 Post subject: |
|
|
Ok now |
|
Back to top |
|
Otomatic
Joined: 01 Sep 2011 Posts: 217 Location: Paris, France, EU
|
Posted: Thu 02 Jul '20 18:25 Post subject: |
|
|
Steffen wrote: | Try:
LoadModule php_module D:/WEB/php/php8apache2_4.dll (so not php8_module) |
Thank you very much.
I had done a lot of tests with php8_module and even leaving php7_module but still some httpd.conf syntax errors.
It works perfectly for Wampserver with:
Code: | LoadModule php_module "${INSTALL_DIR}/bin/php/php8.0.0a1/php8apache2_4.dll" |
|
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|