Closed Valdnet closed 4 months ago
Thanks for your report :+1:
It seems that shell_exec is disabled on your end.
I thought this kind of error should be handled properly in executeCommand. What php version are you using?
I'm using the PHP version: 7.4 and 8.1.
Confirmed.
It's not possible to suppress an undefined function error since PHP 8 (https://php.watch/versions/8.0/fatal-error-suppression).
Is it possible to detect if shell_exec()
exists, and if not, show a proper information that this function should be enabled to use this app, instead of the default 500 error:
End users will appreciate it. Thanks.
Expected behaviour
Launching the serverinfo app.
Actual behaviour
An internal server error occurs while running server information.
Logs
Nextcloud version: 27.1.3