Menu

#511 Auto-Update fails with php 8.2.3

Reproducible
closed-fixed
5
2025-12-03
2023-03-11
Oliver Heil
No

With php 8.2.3 opening or creating a tar.gz file fails with
PHP Fatal error: Allowed memory size of 20971520 bytes exhausted

Call to method
$archive->compress(Phar::GZ);
and
$archive=new PharData($archive_name);
fail when working with gz or bz2, but reason unknown.

It works with php 8.1.
Workaround in current main update.php: do compress and uncompress more manually.

Discussion

  • Oliver Heil

    Oliver Heil - 2023-03-16

    Still unresolved on php 8.2.4, same error.

     
  • Oliver Heil

    Oliver Heil - 2023-03-17
    • status: open --> pending
     
  • Michael Buchholz

    memory_limit in PHP is too low.. Increase memory_limit setting and it should work fine.

     
  • Oliver Heil

    Oliver Heil - 2025-12-03
    • labels: php 8.2.3 --> php 8.2.3, v1.9.15
    • status: pending --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB