Hi, I have compiled and installed (precisely following instruction) turck-mmcache 2.4.6 for Apache2-2.0.49-23/php4-4.3.4-43.3 on SuSE 9.1. Unfortunately, I cannot start Apapche2 anymore, I am getting this error message: /usr/sbin/httpd2-prefork: error while loading shared libraries: /usr/lib/php/extensions/mmcache.so: undefined symbol: php_session_register_module [Tue May 18 22:11:01 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2) [Tue May 18 22:11:01 2004] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue May 18 22:11:01 2004] [notice] Digest: generating secret for digest authentication ... [Tue May 18 22:11:01 2004] [notice] Digest: done /usr/sbin/httpd2-prefork: error while loading shared libraries: /usr/lib/php/extensions/mmcache.so: undefined symbol: php_session_register_module Anyone have an idea how to fix this? Thanks in advance Andrei ------------------------------------------------- Here is what I have added to php.ini at the bottom: extension="mmcache.so" mmcache.shm_size="16" mmcache.cache_dir="/tmp/mmcache" mmcache.enable="1" mmcache.optimizer="1" mmcache.check_mtime="1" mmcache.debug="0" mmcache.filter="" mmcache.shm_max="0" mmcache.shm_ttl="0" mmcache.shm_prune_period="0" mmcache.shm_only="0" mmcache.compress="1"
On Tue, May 18, 2004 at 10:34:38PM +0300, Andrei Verovski (aka MacGuru) wrote:
I have compiled and installed (precisely following instruction) turck-mmcache 2.4.6 for Apache2-2.0.49-23/php4-4.3.4-43.3 on SuSE 9.1.
Unfortunately, I cannot start Apapche2 anymore, I am getting this error message:
/usr/sbin/httpd2-prefork: error while loading shared libraries: /usr/lib/php/extensions/mmcache.so: undefined symbol: php_session_register_module
Do you have all needed php4 modules installed, e.g. the package php4-session? Peter
Hi, Peter, Thanks a lot for reply. Yes, of course, I have php4_session installed. In fact, I have installed php4_core, which do include a lot of extra modules. Please note that I have recompiled turck mmcache with the current install of PHP4. On May 19, 2004, at 11:50, poeml@cmdline.net wrote:
On Tue, May 18, 2004 at 10:34:38PM +0300, Andrei Verovski (aka MacGuru) wrote:
I have compiled and installed (precisely following instruction) turck-mmcache 2.4.6 for Apache2-2.0.49-23/php4-4.3.4-43.3 on SuSE 9.1.
Unfortunately, I cannot start Apapche2 anymore, I am getting this error message:
/usr/sbin/httpd2-prefork: error while loading shared libraries: /usr/lib/php/extensions/mmcache.so: undefined symbol: php_session_register_module
Do you have all needed php4 modules installed, e.g. the package php4-session?
********************************************* * Best Regards --- Andrei Verovski * * Personal Home Page * http://snow.prohosting.com/guru4mac/ * Mac, Linux, DTP, Development, IT WEB Site *********************************************
On Wed, May 19, 2004 at 02:05:25PM +0300, Andrei Verovski wrote:
Hi, Peter,
Thanks a lot for reply.
Yes, of course, I have php4_session installed. In fact, I have installed php4_core, which do include a lot of extra modules. Please note that I have recompiled turck mmcache with the current install of PHP4.
Sorry, I don't think I can help much further. Can you check the order in which php4 loads its modules? Oh, do you load the php4 module into apache _before_ loading any modules that depend on it?
On May 19, 2004, at 11:50, poeml@cmdline.net wrote:
On Tue, May 18, 2004 at 10:34:38PM +0300, Andrei Verovski (aka MacGuru) wrote:
I have compiled and installed (precisely following instruction) turck-mmcache 2.4.6 for Apache2-2.0.49-23/php4-4.3.4-43.3 on SuSE 9.1.
Unfortunately, I cannot start Apapche2 anymore, I am getting this error message:
/usr/sbin/httpd2-prefork: error while loading shared libraries: /usr/lib/php/extensions/mmcache.so: undefined symbol: php_session_register_module
Do you have all needed php4 modules installed, e.g. the package php4-session?
Hi, Peter, On May 19, 2004, at 15:25, poeml@cmdline.net wrote:
Thanks a lot for reply.
Yes, of course, I have php4_session installed. In fact, I have installed php4_core, which do include a lot of extra modules. Please note that I have recompiled turck mmcache with the current install of PHP4.
Sorry, I don't think I can help much further. Can you check the order in which php4 loads its modules?
How I check it? I have put turck-mmcache configs in the bottom of php.ini. Or may be PHP loads its extensions in alphabetical order, and thus, php_session loads AFTER mmcache?
Oh, do you load the php4 module into apache _before_ loading any modules that depend on it?
Without turck-mmcache everything is fine. It is stock SuSE rpms. BTW, I have defined turck-mmcache as php extension in php.ini (copied them from turck-mmcache readme). One guy who used it on slackware told me that I should define it as Zend extension. But I do not have Zend accelerator installed. Or may be I do not understood something ?... ********************************************* * Best Regards --- Andrei Verovski * * Personal Home Page * http://snow.prohosting.com/guru4mac/ * Mac, Linux, DTP, Development, IT WEB Site *********************************************
On Wed, May 19, 2004 at 04:09:53PM +0300, Andrei Verovski wrote:
Sorry, I don't think I can help much further. Can you check the order in which php4 loads its modules?
How I check it? I have put turck-mmcache configs in the bottom of php.ini. Or may be PHP loads its extensions in alphabetical order, and thus, php_session loads AFTER mmcache?
I don't know the details, sorry. Best ask some PHP folks... Do you have a line "extension=session.so" in php.ini?
Oh, do you load the php4 module into apache _before_ loading any modules that depend on it?
Without turck-mmcache everything is fine. It is stock SuSE rpms.
BTW, I have defined turck-mmcache as php extension in php.ini (copied them from turck-mmcache readme). One guy who used it on slackware told me that I should define it as Zend extension. But I do not have Zend accelerator installed. Or may be I do not understood something ?...
Don't know, Peter
participants (3)
-
Andrei Verovski
-
Andrei Verovski (aka MacGuru)
-
poeml@cmdline.net