|
Posted by Hendri Kurniawan on 05/02/07 23:42
Pugi! wrote:
> Hi,
>
> What is the difference between --enable-mbstring and --enable-
> mbstring=shared ?
> I have an old RHEL3 with lots of customizations (don't ask wich ones,
> no one knows) where mb_strtoupper, ... works. Via phpinfo I find --
> enable-mbstring.
> I have a new installation of SL4.4. With php.info I find --enable-
> mbstring=shared. mb_strtoupper doens't work (undefined function).
>
> Can anyone help me out ?
>
> thanx,
>
> Pugi
>
Difference is that one use dynamic linking, the other static linking.
Theoretically it shouldn't matter if you use either. The only difference
should be when you upgrade your mbstring library. When using static
linking (ie. not shared), PHP still use the OLD library, because the
compiler "built" it in the PHP "executable", while dynamic linking will
see PHP using the new updated library.
Hendri Kurniawan
[Back to original message]
|