Hi guys,
there is several bug reports about having problem compiling differents
SAPI at once.
http://bugs.php.net/52419
http://bugs.php.net/48989
http://bugs.php.net/53271
I'm also experiencing the same problem. CLI can be compiled and build
with any other SAPI. But only one other SAPI could be compiled and
build at once.
If this is a normal behaviour, we should add an error at configure
telling that only one SAPI is supported at once.
It not, we should correct it.
Did I miss something ?
++ Jerome
Hi Jérôme
2010/11/11 Jérôme Loyet jerome@loyet.net:
If this is a normal behaviour, we should add an error at configure
telling that only one SAPI is supported at once.
It not, we should correct it.Did I miss something ?
On Windows we have no problems in compiling multiple SAPI's using one
./configure, so I believe it is indeed a bug on the Unix build system
causing this, so yeah I suppose it should be fixed.
--
regards,
Kalle Sommer Nielsen
kalle@php.net
Hi,
there is several bug reports about having problem compiling differents
SAPI at once.http://bugs.php.net/52419
http://bugs.php.net/48989
http://bugs.php.net/53271I'm also experiencing the same problem. CLI can be compiled and build
with any other SAPI. But only one other SAPI could be compiled and
build at once.If this is a normal behaviour, we should add an error at configure
telling that only one SAPI is supported at once.
It not, we should correct it.
Building multiple SAPIs should only be "required" by distributors who
want to save compile time. CLI is a special exception to this rule.
I was under the impression that a conflict might be due to the way
main/internal_functions.c is generated, while I noticed that modules
belonging to a SAPI (like the one holding apache-specific functions)
aren't registered via that file but directly from within the SAPI. (For
CLI there is a special case with internal_functions_cli.c which lists
extensions like realdine which can only be added to CLI)
There might be other conflicts though so I would be careful with adding
support for this.
johannes