Установка
To be able to use the functions defined in this module you must compile your PHP interpreter using the --with-recode[=DIR] option.
Crashes and startup problems of PHP may be encountered when loading the recode as extension after loading any extension of mysql or imap. Loading the recode before those extension has proved to fix the problem. This is due a technical problem that both the c-client library used by imap and recode have their own hash_lookup() function and both mysql and recode have their own hash_insert function.
Расширение IMAP не может использоваться вместе с расширениями перекодировки, YAZ или Cyrus. Это связано с тем фактом, что они оба используют одни и те же внутренние символы. Замечание: Версии Yaz 2.0 и выше избавлены от этого недостатка.
Коментарии
The warnings on this page are really important.
If you ever end up with a Segmentation Fault (core dump 11), and have something similar to this in your stack trace:
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x0000000805936da2 in hash_lookup (hashtab=0x8099ad600, key=0x7fffffffe590 "1:3\b\b") at misc.c:349
349 misc.c: No such file or directory.
in misc.c
[New Thread 8016041c0 (LWP 100388)]
#0 0x0000000805936da2 in hash_lookup (hashtab=0x8099ad600, key=0x7fffffffe590 "1:3\b\b") at misc.c:349
ret = Variable "ret" is not available.