codecasts / php-alpine

PHP APK Repository for Alpine Linux
https://github.com/codecasts/php-alpine
483 stars 58 forks source link

[WIP] PHP 8.0 Support #111

Closed hernandev closed 3 years ago

hernandev commented 3 years ago

This PR includes the first working builds of PHP 8.0, currently Beta4.

Notice many PECL extensions are still not compatible.

This version includes a phar extension patch for Pear installer and uses forward-ported enchanted library.

Another approach is to also include the phar extension patch, but also patching PHP to use enchant2 (desired)

Includes the work and love by @xarem, who made this possible so far

hernandev commented 3 years ago

Update 1:

enchant2 is being used instead of enchant for Alpine v3.12. That means forward port is not necessary (to confirm after further testing)

hernandev commented 3 years ago

Update 2:

Initial binaries now available on bintray for testing.

hernandev commented 3 years ago

Update 3:

Added PHP8.0 support on Alpine v3.11 as well

xarem commented 3 years ago

@hernandev looks great so far! If it builds I would like to use it in test images.

Is it possible to move it to v3.12 instead of v3.11? Bleeding edge 🤓

hernandev commented 3 years ago

@xarem it's currently building on both 3.11 and 3.12 😎

limingxinleo commented 3 years ago

PHP8.0 was released.

https://github.com/php/php-src/releases/tag/php-8.0.0