Skip to content

Can't download folder in PHP 8.1 #3543

@marlonanjos

Description

@marlonanjos

Describe the bug
If I try to download a folder in PHP 8.1, it throws an Error 500. It works fine in PHP 7.4

The problems seems to be in the function localFileSystemSymlink

If symlink is in disabled_functions, it throws a warning in PHP 7.4:
PHP Warning: symlink() has been disabled for security reasons

In PHP 8.0/8.1 it throws a fatal error:
PHP Fatal error: Uncaught Error: Call to undefined function symlink()

As noted in: https://php.watch/versions/8.0/disable_functions-redeclare

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions