Skip to content

feat(php): release of PHP 8.6.0 - #640

Open
Frzk wants to merge 5 commits into
masterfrom
feat/php/8.6.0
Open

Frzk wants to merge 5 commits into
masterfrom
feat/php/8.6.0

Conversation

@Frzk

@Frzk Frzk commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Related to #639

  • Updated dependencies for libwebp
  • Skip some extensions that are not available yet with PHP 8.6.0
  • Update extensions event to 3.2.0 and mongodb to 1.21.14.

Packages have been uploaded to ObjectStorage for:

Tested here: https://fku-dummy.osc-st-fr1.apps.st-sc.fr

@Frzk Frzk self-assigned this Nov 20, 2026
Temporarily ignore some extensions for PHP 8.6.0 (until they're fixed).
Comment thread support/get_webp
--enable-libwebpdemux \
--enable-libwebpmux

make -j8

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: oh yeah, faster!! 🎉

Comment thread support/package_all Outdated
skip=( "imap" "igbinary" )

echo "Compile the extensions for PHP $php_version"
skip84=( "imap" )

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: add _ge to make it more explicit that it's for version greater or equal than 8.4

Suggested change
skip84=( "imap" )
skip_ge_84=( "imap" )

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in 74347ad

Comment thread support/package_all Outdated
echo "----- Compile PHP extensions from ext for PHP $php_version"
echo

# SKIP igbinary extension since it doesn't compile with PHP 8.5

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: only for 8.5? Or also for 8.6?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also skip it for 8.6 unfortunately.
I guess renaming the vars to $skip_ge_8* makes it clearer.
(for now we don't have the case where an extension wouldn't be available for 8.n and not 8.n-1)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have also updated the comment in 74347ad

Comment thread support/package_all Outdated
Comment on lines +65 to +71
# SKIP imagick extension
#
# SKIP mcrypt extension
#
# SKIP memcached extension
#
# SKIP mongodb extension

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: add a word to explain why it does not work. I assume you didn't add anything because there is no upstream issue. Maybe add tthe error message here? Or open an issue upstream so that we can link it here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 74347ad

Comment thread support/package_all Outdated
if [[ "${PHP_MODULE_API_VERSIONS["${php_version}"]}" -ge 20240924 ]] \
&& [[ ${skip[@]} =~ "${ext_name}" ]]
# Skip some extensions for PHP >= 8.5
if [[ "${PHP_MODULE_API_VERSIONS["${php_version}"]}" -ge 20250925 ]] \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: we usually rather write PHP_MODULE_API_VERSIONS["8.5"] rather than 20250925. It's much clearer. WDYT?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, of course 🤦‍♂️

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 74347ad

@Frzk
Frzk requested a review from EtienneM November 20, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants