Description of the need
I'm not sure if it's a need, but it might be helpful in some cases. Feedback is welcome.
The SAPI is the type of interface between web server and PHP, something like apache2handler (=mod_php), cgi, cgi-fcgi, fpm-fcgi...
Proposed solution
Easy: collect PHP_SAPI values.
Alternatives that have been considered
Not collecting it :grinning:
Additional information
Function php_sapi_name() returns the same value.
GitHub Issue #:
5449
Recent comments
Trying to push it to upstream 🤞 https://github.com/drush-ops/drush/pull/6621
Using Drush 8 with php 8
Wow, thank you!
Using Drush 8 with php 8
Hi folks, I went ahead and ported all drush 8.x stuff to PHP 8.3 and completely ripped out the legacy Symfony 2 internals. You can check out the exact details of what was done in the PR...
Using Drush 8 with php 8