Allow to build apache2 SAPI same time with other SAPIs
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
Description
ATM distro builders need separate build pass to build apache2handler because of php.m4 macro PHP_SELECT_SAPI
It was discussed in https://bugs.php.net/bug.php?id=52419 but somehow it still disallowed
If I wanna add ZTS variation to Alpinelinux looks I need to build it all 4 times... maybe there's workaround?
https://github.com/php/php-src/blob/63841ba7cfc368398f9310b785298400f6b7b2d9/build/php.m4#L843-L859
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading build/php.m4 around lines 843-859 and the PHP_SELECT_SAPI macro. Understand why apache2handler currently requires a separate build pass, using the linked historical discussion for context. Done means distro builders can build apache2handler alongside other SAPIs without separate passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100