Skip to content

Commit

Permalink
[BUGFIX] Disable GMP for certain php versions due to a bug in php
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryd committed Nov 27, 2024
1 parent 855cb8d commit 660847f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ext_localconf.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?php

if (version_compare(PHP_VERSION, '8.2.26', '>=') && version_compare(PHP_VERSION, '8.3.0', '<') || version_compare(PHP_VERSION, '8.3.14', '>=') && version_compare(PHP_VERSION, '8.4.0', '<')) {
// See https://github.com/php/php-src/issues/16870
define('Auth_OpenID_BUGGY_GMP', 1);
}

// Register OpenID authentication service with TYPO3
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService(
'openid',
Expand Down

0 comments on commit 660847f

Please sign in to comment.