Skip to content

curl_close() is deprecated since 8.5#775

Description

@passibe15

How to use GitHub

  • Please use the 馃憤 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Use php 8.5
  2. Run updater.phar
  3. Observe output
    (4. Update finishes successfully, though)

Expected behaviour

No deprecation warning

Actual behaviour

Current version is 33.0.5.
PHP Deprecated:  Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0 in phar:///opt/www/nextcloud/updater/updater.phar/lib/Updater.php on line 570
PHP Deprecated:  Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0 in phar:///opt/www/nextcloud/updater/updater.phar/lib/Updater.php on line 570

Update to Nextcloud 33.0.6 available. (channel: "stable")
[鈥
Start update? [y/N] y

Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.

[鉁擼 Check for expected files
[鉁擼 Check for write permissions
[鉁擼 Create backup
[ ] Downloading ...   0%PHP Deprecated:  Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0 in phar:///opt/www/nextcloud/updater/updater.phar/lib/Updater.php on line 570
 100%PHP Deprecated:  Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0 in phar:///opt/www/nextcloud/updater/updater.phar/lib/Updater.php on line 743
[鉁擼 Downloading
[ ] Verify integrity ...PHP Deprecated:  Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0 in phar:///opt/www/nextcloud/updater/updater.phar/lib/Updater.php on line 570
[鉁擼 Verify integrity
[鈥

Server configuration

Web server: Nginx

Database: Maria

PHP version: 8.5

Nextcloud version: 33.0.5 (now 33.0.6)

List of activated apps not relevant
Nextcloud configuration not relevant

Browser

not relevant

Browser log not relevant

Hi, just a quick report on this warning I received while updating today.

As the deprecation message states, curl_close has no effect since 8.0 anymore. Given that Nextcloud doesn't support PHP 7.x anymore anyways, it should probably be fine to simply remove curl_close?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions