Depending on the configuration of your web hoster, you might get the following error message:
Composer cannot be run safely on non-CLI SAPIs with register_argc_argv=On. Aborting.
SAPI -> Server-API refers to the PHP API used to communicate with the WebServer, here composer expect it to be the CLI (command-line interface), and it might be set to CGI (Common Gateway Interface).
You can also verify which API the PHP executable provides by typing in php -v, as a reply you might get PHP 8.1.33 (cgi-fcgi)
For Strato, you can found the php-cli executable in the folder of the corresponding PHP version, e.g., /opt/RZphp81/bin/php-cli, this can be used to run Composer.
In this case the update can be performed with the following command: /opt/RZphp81/bin/php-cli composer.phar update.
Veröffentlicht in Aktuelles, EDV am 03. January 2026