New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
don't build phpdbg by default #3134
Conversation
/cc @bwoebi as you enabled it by default. If we do this, Regardless of whether or not phpdbg is enabled by default, that readline issue looks like a problem that has to be fixed independently. |
@nikic |
still relevant. phpdbg is being compiled by default, this PR stops that behavior The fact that you need readline compiled in when you build with phpdbg is something I personally don't have problems with. I guess that even makes sense |
The original problem, which is the shared build making phpdbg build fail, is not so easy to fix. SAPI's are configured before extensions, so at configure time for phpdbg, readline is not configured, therefore we cannot detect whether it is shared or static. EDIT: I found a way ... |
Fixed in 7af270e By default readline/phpdbg integration is enabled, and assumes a static build as it does now - this configuration will still fail, as it does now. To have the build pass with shared readline you must --disable-phpdbg-readline |
ok thanks @krakjoe |
Hello, this seems to fail now: ./buildconf && ./configure --disable-all && make
|
Fixed in b7442f1 Now readline support is disabled by default in phpdbg, enabled it when building readline static with --enable-phpdbg-readline ... |
When compiling readline as shared extension for the cli SAPI, this failed because phpdbg is compiled by default and needs readline. Compiling with or without readline works, only compiling as shared extension makes phpdbg fail.
I don't know why phpdbg is compiled by default. Maybe this was commited by mistake in 378a05f0de7#diff-70ffcc68633eb9f00e5f1aea6023fcdeR6
This PR suggests to turn it off again. Or, maybe we should leave it on by default and need a
--disable-phpdbg
instead?