logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: PHP 8.4.0 RC3, 8.3.13 RC1, 8.2.25 RC1 available Page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Author
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Sun 21 Jul '19 7:22    Post subject: Reply with quote

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

PostPosted: Wed 24 Jul '19 23:25    Post subject: Reply with quote

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

PostPosted: Sat 03 Aug '19 15:37    Post subject: Reply with quote

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

PostPosted: Tue 06 Aug '19 21:08    Post subject: Reply with quote

Jan-E wrote:
Nasty issue after the upgrade to VS 16.2 and thus build tools 14.22:
https://github.com/winlibs/libiconv/issues/9
Ouch experience.

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

PostPosted: Wed 21 Aug '19 12:55    Post subject: Reply with quote

The official 7.4 build moves back to vc15 somehow Confused
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Wed 21 Aug '19 13:04    Post subject: Reply with quote

I did not notice that yet. I notified the PHP devs:
https://github.com/winlibs/libiconv/issues/9#issuecomment-523408460
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Wed 21 Aug '19 14:18    Post subject: Reply with quote

https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2?do=revisions
Quote:
2019/08/21 11:37 internals:windows:stepbystepbuild_sdk_2 – PHP 7.4 builds should use VS 2017 now cmb -2 B (current)
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Wed 21 Aug '19 14:57    Post subject: Reply with quote

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: 3094
Location: Hilversum, NL, EU

PostPosted: Wed 21 Aug '19 15:24    Post subject: Reply with quote

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

PostPosted: Wed 04 Dec '19 7:07    Post subject: Reply with quote

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

PostPosted: Wed 01 Jul '20 1:03    Post subject: Reply with quote

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

PostPosted: Wed 01 Jul '20 9:43    Post subject: Reply with quote

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

PostPosted: Wed 01 Jul '20 9:50    Post subject: Reply with quote

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

PostPosted: Wed 01 Jul '20 10:05    Post subject: Reply with quote

yes
Back to top
spser



Joined: 29 Aug 2016
Posts: 97

PostPosted: Wed 01 Jul '20 10:06    Post subject: Reply with quote

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

PostPosted: Wed 01 Jul '20 10:10    Post subject: Reply with quote

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):
Quote:
PHP 8.0.0alpha1 has just been released and can be downloaded from:
https://downloads.php.net/~pollita
Or use the git tag: php-8.0.0alpha1

Windows binaries are available at: https://windows.php.net/qa/

This is the first official release of the PHP 8 serial and includes an incredible amount of work.
Please test it carefully, and report any bugs at https://bugs.php.net

8.0.0alpha2 should be expected in 2 weeks, i.e. on 9 Jul 2020.
Hash values and PGP signatures can be found below or at
https://gist.github.com/sgolemon/9b268eb2606cdc9664d77a779595540

Thank you, and happy testing!

Regards,
Sara Golemon & Gabriel Caruso
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3094
Location: Hilversum, NL, EU

PostPosted: Wed 01 Jul '20 12:54    Post subject: Reply with quote

Try:

LoadModule php_module D:/WEB/php/php8apache2_4.dll (so not php8_module)
Back to top
spser



Joined: 29 Aug 2016
Posts: 97

PostPosted: Thu 02 Jul '20 4:05    Post subject: Reply with quote

Ok now
Back to top
Otomatic



Joined: 01 Sep 2011
Posts: 216
Location: Paris, France, EU

PostPosted: Thu 02 Jul '20 18:25    Post subject: Reply with quote

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

PostPosted: Thu 09 Jul '20 22:20    Post subject: Reply with quote

PHP 8.0.0 Alpha 2 is available. There was a breaking change, so since Alpha 1 some extensions did not compile anymore: msgpack and yaml.

On the other hand, I added some extensions for those of you that run applications with really old style code:

php_ereg.dll
php_ffmpeg.dll

The last one is an extension that can make thumbnails of video-files and rean some values, like the width and the height. It was the extension that kicked me into building PHP myself, back in the days of PHP 5.3.0. I have now upgraded it for PHP 8, but still with the really old FFmpeg version. You can follow my discussions with one of the PHP-devs here:

https://github.com/php/php-src/commit/e2f15862255701f09132e004dcc22a5f92cf402c#commitcomment-40453663

and here:

https://github.com/Jan-E/php7-ffmpeg/commit/620ded21de7875b78315a8965e6b28fb02ac3638#commitcomment-40461058

In the end I succeeded in generating the thumbnails by dealing with the many changes between PHP 7.4 and PHP 8.0 alpha.
Back to top


Reply to topic   Topic: PHP 8.4.0 RC3, 8.3.13 RC1, 8.2.25 RC1 available View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads Page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next