ibmcloud fn action create <ACTION-NAME> --docker openwhisk/action-php-v8.0 FILE.php --web true
If you were already using the PHP 7.3 runtime, you can run ibmcloud fn action update
instead.
You can zip multiple files with .zip instead of FILE.php
and specify it.
The source will work almost in common with the PHP 7.3 runtime.
This operation requires CLI to edit the source. (Cannot be edited from the console)