Hi Ben,
Welcome to the forum.
I'm guessing you installed the Ice for PHP RPM (which was built against PHP 5.1.x) and are trying to use it with PHP 5.2.8.
You'll need to build a new version of the PHP extension using PHP 5.2.8. Follow these steps:
- Download the Ice 3.3.0 source distribution and extract it.
- Install the mcpp RPM.
- $ cd Ice-3.3.0/cpp/src
- $ make
- $ cd ../../php
- Review config/Make.rules (e.g., you may want to change PHP_HOME)
- $ make
- Copy lib/IcePHP.so to the desired destination
If you like, you can stop the build in
Ice-3.3.0/cpp/src after it has finished building
libIce.so. Also, there's no need to install the version of Ice for C++ that you just compiled; you can simply copy
IcePHP.so and use it with the RPM installation of the Ice libraries.
Regards,
Mark