[axxs-sysadmin] mbstring.func_overload

Cameron Gregg cam at earthanarchy.org
Thu Jan 31 05:25:54 PST 2008


ned haughton wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I get this in climateimc drupal, and aketus is getting it for
> aptgetanarchy (both on borg):
> 
> |Unicode library	Error
> |Multibyte string function overloading in PHP is active and must be
> disabled. Check the php.ini mbstring.func_overload setting. Please refer
> to the PHP mbstring documentation for more information.
> 
> does anyone know why it was enabled? seems to only have been happening
> for a week or two. if it was enabled for one site, can it please be
> disabled, and enabled only for that site? there are a lot of drupal
> sites on borg, and I assume they are all giving this error now.

from /etc/php5/apache2/php.ini on borg

; overload(replace) single byte functions by mbstring functions.
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
; etc. Possible values are 0,1,2,4 or combination of them.
; For example, 7 for overload everything.
; 0: No overload
; 1: Overload mail() function
; 2: Overload str*() functions
; 4: Overload ereg*() functions
;mbstring.func_overload = 0
; ;;;;;;;;;;;
; Added by datakid, 25/11/2007 for egroupware
mbstring.func_overload = 7


I have removed the custom mbstring.func_overload setting from this 
global file and set it back to 0. I have put into the apache vhost file 
for egroupware the following.

php_value mbstring.func_overload 7



Cam




More information about the axxs-sysadmin mailing list