php5.1 with apache1

Elan Ruusamäe glen at delfi.ee
Fri Dec 30 15:23:23 CET 2005


On Thursday 29 December 2005 19:49, Elan Ruusamäe wrote:
> On Thursday 29 December 2005 18:11, Jan Palus wrote:
> > Syntax error on line 1 of /etc/apache/conf.d/70_mod_php.conf:
> > Cannot load /etc/apache/modules/libphp5.so into server:
> > /etc/apache/modules/libphp5.so: undefined symbol:
> > php_mb_set_zend_encoding
>
> appears from --enable-zend-multibyte:
>
> sapi/apache/mod_php5.c
> #if defined(ZEND_MULTIBYTE) && defined(HAVE_MBSTRING)
>         php_mb_set_zend_encoding(TSRMLS_C);
> #endif /* defined(ZEND_MULTIBYTE) && defined(HAVE_MBSTRING) */
>
> it's enabled in this revision:
> http://cvs.pld-linux.org/cgi-bin/cvsweb/SPECS/php.spec?r1=1.467.2.4&r2=1.46
>7.2.5 $Log: php.spec,v $
> Revision 1.467.2.5  2005/08/26 08:55:18  arekm
> - add PDO (base compiled in; database drivers as shared modules)
>
> we should either disable multibyte or compile mbstring extension statically
> into core. i'd personally disable the  --enable-zend-multibyte, because
> there's no explanation why it was enabled. pdo needs it or why?
arekm, if there's no reason for  --enable-zend-multibyte, lets disable it and 
unbreak apache1-mod_php package?

-- 
glen


More information about the pld-devel-en mailing list