使用PHP 5.3+的CentOS 6上的xapian
I've got a 64bit server with CentOS 6 and PHP 5.3 installed
I've installed xapian using RPMs from their website
rpm-eprints-org-xapian-6-1.noarch xapian-bindings-php-1.2.7-1.x86_64 xapian-core-libs-1.2.7-1.x86_64 xapian-bindings-1.2.7-1.x86_64 xapian-core-1.2.7-1.x86_64
Now when I try to use the xapian library from PHP through Apache, I get this error:
Call to undefined function
/usr/share/php/xapian.phpon line 22
After some Googleing I found that
dl() is no longer working in PHP 5.3+. I've enabled
php.ini, didn't do anything. I've not been able to find any solution to this problem anywhere. I guess there aren't many people using CentOS 6 at the moment?
What can I do?