Marc Herbert <[EMAIL PROTECTED]> writes:

> Not really, but you don't really need to recompile PHP. Try something
> like that instead:
>
>
>
> --- /usr/sbin/apache2ctl        2007/03/08 19:41:34     1.1
> +++ /usr/sbin/apache2ctl        2007/03/12 14:26:04
> @@ -41,7 +41,8 @@
>  # --------------------                              --------------------
>  # 
>  # the path to your httpd binary, including options if necessary
> -HTTPD='/usr/sbin/apache2'
> +MYLIBS="/tmp/libmysequoia.so:/tmp/libcarob.so:/usr/lib/php5/20051025/mysqli.so:/usr/lib/apache2/modules/libphp5.so"
> +HTTPD="env LD_PRELOAD=$MYLIBS /usr/sbin/apache2"

The next libmysequoia version (0.9.9?) as well as the current CVS code
don't need a such long MYLIBS line anymore. Now LD_PRELOAD-ing
just libmysequoia.so should be enough.


For those interested, now libmysequoia.so is linked by default to
libmysqlclient.so, which brings libmysqlclient in the same lookup
scope as libmysequoia whatever nasty RTLD_DEEPBIND flag or else PHP is
using.




_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to