The important think, it is NOT lose the opcache.
For that I added first the opcache test #156.
Added test in hello.t, to echo php_sapi_name().
It's working with all (~except 7.0~). Now checking the sapi struct changes in php versions.
~Still waiting for test the opcache, when the other PR is merged.~
~Opcache fail for now.~
The important think, it is NOT lose the opcache. For that I added first the opcache test #156.
Added test in
hello.t
, toecho php_sapi_name()
.It's working with all (~except 7.0~). Now checking the sapi struct changes in php versions. ~Still waiting for test the opcache, when the other PR is merged.~ ~Opcache fail for now.~
Added PR to php-src, to add ngx-php to supported SAPIs. https://github.com/php/php-src/pull/11013 (was merged so in PHP 8.3 or before, we can use ngx-php SAPI)
But for now we will have to use the
cli-server
SAPI still, or we lose the opcache.