Current PHP upstream Autotools build system has partial integration of enabling few extensions (readline and pcntl) only on so-called CLI SAPIs (PHP CLI, CGI, Embed, phpdbg). However, this doesn't seem to work there at all.
./buildconf
./configure --enable-pcntl --with-apxs2
make -j
nm .libs/libphp.so | grep pcntl # Here pcntl stuff shouldn't be listed.
Similar is happening for the FPM and Litespeed SAPIs.
Here it needs to be determined if readline and pcntl extensions should be enabled on FPM in CMake. Currently, CMake-based build system has much more strict configuration and CLI-based extensions aren't added to non-CLI SAPIs.
Current PHP upstream Autotools build system has partial integration of enabling few extensions (readline and pcntl) only on so-called CLI SAPIs (PHP CLI, CGI, Embed, phpdbg). However, this doesn't seem to work there at all.
Similar is happening for the FPM and Litespeed SAPIs.
Here it needs to be determined if readline and pcntl extensions should be enabled on FPM in CMake. Currently, CMake-based build system has much more strict configuration and CLI-based extensions aren't added to non-CLI SAPIs.