Skip to content

Determine and sync CLI SAPIs #51

Description

@petk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions