What happened?
Due to long-term non-update, p7zip no longer supports some new RAR5 methods and algorithms, which will cause it to be not universal enough (ERROR: Unsupported Method error occurs).
By using rar to replace p7zip, this problem can be solved because it is an officially supported closed-source library. Moreover, it is not only an option available for macOS, but also for Linux.
In addition, I would like to point out a coding problem: sometimes if this operation is not performed putenv('LANG=C.UTF-8');, it will lead to the reading of the garbled file name, which may prevent the file operation from being carried out.
I found that I didn't seem to have found the template of the feature.
How to reproduce the bug
None.
Package Version
2.3.01
PHP Version
8.2.28
Which operating systems does with happen with?
Linux
Notes
No response
What happened?
Due to long-term non-update, p7zip no longer supports some new RAR5 methods and algorithms, which will cause it to be not universal enough (ERROR: Unsupported Method error occurs).
By using rar to replace p7zip, this problem can be solved because it is an officially supported closed-source library. Moreover, it is not only an option available for macOS, but also for Linux.
In addition, I would like to point out a coding problem: sometimes if this operation is not performed
putenv('LANG=C.UTF-8');, it will lead to the reading of the garbled file name, which may prevent the file operation from being carried out.I found that I didn't seem to have found the template of the feature.
How to reproduce the bug
None.
Package Version
2.3.01
PHP Version
8.2.28
Which operating systems does with happen with?
Linux
Notes
No response