Compiling 2 SAPIs

From: Date: Mon, 26 Jan 2004 21:37:56 +0000
Subject: Compiling 2 SAPIs
Groups: php.internals 
Request: Send a blank email to internals+get-7336@lists.php.net to get a copy of this message
I have a project where I need to have both Apache SAPI (shared) and embed SAPI (shared) compiled/active at the same time. Is that possible to do at all? Any risk of symbol clashes or other similar problems?
Andrei posted this a while ago, but nobody replied and we have learned this is it not possible. With the current state of the code and configuration system what would it take to do something like this: Core PHP code is built into libphpX.so (libphp4.so) All SAPI's require libphpX.so: libphpX_apache.so <- apache sapi libphpX_embeded.so <- apache sapi and the command line sapi would have a depenency on libphpX.so. Brian

« previous php.internals (#7336) next »