Reply to Re: difference between --enable-mbstring and --enable-mbstring=shared

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация