The issue
After being inactive for a while, I logged in and attempted to update Flarum via the control panel, but I encountered the error shown in the attached screenshot.

Post some information here like what you expected to see, but got instead. If you can find any logs in /storage/logs or in your browser console that relate to the issue, add them.
flarum-2026-07-23.txt[2026-07-23 03:19:21] flarum.ERROR: Error: Call to undefined function Flarum\Foundation\Console\exec() in /home/datasense/web/freebtc.my/public_html/vendor/flarum/core/src/Foundation/Console/InfoCommand.php:198
Stack trace:
#0 /home/datasense/web/freebtc.my/public_html/vendor/flarum/core/src/Foundation/Console/InfoCommand.php(84): Flarum\Foundation\Console\InfoCommand->detectWebServerPhpVersion()
#1 /home/datasense/web/freebtc.my/public_html/vendor/flarum/core/src/Console/AbstractCommand.php(37): Flarum\Foundation\Console\InfoCommand->fire()
#2 /home/datasense/web/freebtc.my/public_html/vendor/symfony/console/Command/Command.php(298): Flarum\Console\AbstractCommand->execute()
Download file
Error previewing file. It may have been deleted, or the provided file ID is invalid.
Flarum information
Post your output of php flarum info here. Without this information providing support will take longer!
$ php flarum info
Flarum core: 1.8.17
PHP Fatal error: Uncaught Error: Call to undefined function Flarum\Foundation\Console\exec() in /home/datasense/web/freebtc.my/public_html/vendor/flarum/core/src/Foundation/Console/InfoCommand.php:198
Stack trace:
#0 /home/datasense/web/freebtc.my/public_html/vendor/flarum/core/src/Foundation/Console/InfoCommand.php(84): Flarum\Foundation\Console\InfoCommand->detectWebServerPhpVersion()
#1 /home/datasense/web/freebtc.my/public_html/vendor/flarum/core/src/Console/AbstractCommand.php(37): Flarum\Foundation\Console\InfoCommand->fire()
#2 /home/datasense/web/freebtc.my/public_html/vendor/symfony/console/Command/Command.php(298): Flarum\Console\AbstractCommand->execute()
#3 /home/datasense/web/freebtc.my/public_html/vendor/symfony/console/Application.php(1058): Symfony\Component\Console\Command\Command->run()
#4 /home/datasense/web/freebtc.my/public_html/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#5 /home/datasense/web/freebtc.my/public_html/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#6 /home/datasense/web/freebtc.my/public_html/vendor/flarum/core/src/Console/Server.php(42): Symfony\Component\Console\Application->run()
#7 /home/datasense/web/freebtc.my/public_html/flarum(24): Flarum\Console\Server->listen()
#8 {main}
thrown in /home/datasense/web/freebtc.my/public_html/vendor/flarum/core/src/Foundation/Console/InfoCommand.php on line 198