I have XAMPP for Linux 1.4.13 (in a Red Hat Linux 9) and I need for one of my applications the GMP library. I have installed the library as they recommend in (www.swox.com/gmp
) but I don´t know how to make PHP aware of this new library. Do I have to rebuilt or compile PHP again? I mean, I don´t see this library when running phpinfo(). I´ve been looking in all directories where I installed XAMPP for the configure file but I cannot find it.
I have added the /usr/local/lib to the /etc/ld.so.conf and run the program ldconfig but I get the same error when I test my application:
"Fatal error: Call to undefined function gmp_init() in /opt/lampp/htdocs/TPR_WEB/test.php on line 2
I have also added the /usr/local/lib path to the LD_LIBRARY_PATH environment variable, but nothing.
Any help would be really appreciate it!