Hi,
I have a strange problem in php -> sphinx communication:
Mar 11 14:59:57 symfony [err] {Exception} searchd error: client version is higher than daemon version (client is v.1.23, daemon is v.1.22)
My system is based on F14 (with small changes) - because I had to use MySQL 5.5 I had to build PHP. Previously, I had php-5.3.5-1 from F15 - which was built without sphinx-0.9.9-2.fc14 package installed. Today I built php-5.3.5-5.fc16 and have the same problem. I would be very grateful if anyone could tell me what am I doing wrong. How can I build php with proper sphinx version support? Or maybe the problem lies elsewhere?
BTW. Sphinx from command line works perfectly fine, so I'm pretty sure that this is not a problem with sphinx configuration.
W dniu 11 marca 2011 15:19 użytkownik Michał Piotrowski mkkp4x4@gmail.com napisał:
Hi,
I have a strange problem in php -> sphinx communication:
Do anyone uses this successfully on rawhide/F15?
Mar 11 14:59:57 symfony [err] {Exception} searchd error: client version is higher than daemon version (client is v.1.23, daemon is v.1.22)
My system is based on F14 (with small changes) - because I had to use MySQL 5.5 I had to build PHP. Previously, I had php-5.3.5-1 from F15 - which was built without sphinx-0.9.9-2.fc14 package installed. Today I built php-5.3.5-5.fc16 and have the same problem. I would be very grateful if anyone could tell me what am I doing wrong. How can I build php with proper sphinx version support? Or maybe the problem lies elsewhere?
BTW. Sphinx from command line works perfectly fine, so I'm pretty sure that this is not a problem with sphinx configuration.
-- Best regards, Michal
2011/3/12 Michał Piotrowski mkkp4x4@gmail.com:
W dniu 11 marca 2011 15:19 użytkownik Michał Piotrowski mkkp4x4@gmail.com napisał:
Hi,
I have a strange problem in php -> sphinx communication:
Do anyone uses this successfully on rawhide/F15?
I use it in F14 & EPEL5.
Are you using the php client library from sphinx-php or one bundled by the software you are using?
This usually happens when the php files doesn't match the sphinx server.
W dniu 12 marca 2011 14:55 użytkownik Christof Damian christof@damian.net napisał:
2011/3/12 Michał Piotrowski mkkp4x4@gmail.com:
W dniu 11 marca 2011 15:19 użytkownik Michał Piotrowski mkkp4x4@gmail.com napisał:
Hi,
I have a strange problem in php -> sphinx communication:
Do anyone uses this successfully on rawhide/F15?
I use it in F14 & EPEL5.
Are you using the php client library from sphinx-php or one bundled by the software you are using?
I'm using plugin for symfony framework.
This usually happens when the php files doesn't match the sphinx server.
This is exactly what happened here. I looked at the plugin code and realized that it doesn't use sphinx library installed in the system 8)
Problem is solved now, but it seems to me that relying on this framework plugin will be the road to hell, so I'll have to give it up and use php-pecl-sphinx.
Thanks for your help!
2011/3/12 Michał Piotrowski mkkp4x4@gmail.com:
Are you using the php client library from sphinx-php or one bundled by the software you are using?
I'm using plugin for symfony framework.
that is where I had the problem too, I used a older version for now.
This usually happens when the php files doesn't match the sphinx server.
This is exactly what happened here. I looked at the plugin code and realized that it doesn't use sphinx library installed in the system 8)
symfony people love bundling libraries.
Problem is solved now, but it seems to me that relying on this framework plugin will be the road to hell, so I'll have to give it up and use php-pecl-sphinx.
I think that is a very wise decision :-)