|
How do I recompile the PHP version that is installed with Ubuntu 6.10 server edition?
I'm trying to get an extension for our Mediawiki to work (PageProtectionPlus), and it requires that we install GMP for best performance. It also requires that we install PHP by using the --with-gmp option. However, it appears that it has BCMath installed instead.
I'm hoping that I can recompile PHP to add that option without losing any other installations (although getting rid of BCMath would be ok), but I'm at a bit of a loss as to how to do it. The other requirements have packages specifically for PHP (such as mcrypt) that can be installed through Synaptic. I found a PHP-GMP debian installation file through Google and a RPM for another distro (through Alien), but neither seemed to work.
I've had a very little bit of compiling experience, but not very much at all. What would be the best way recompile the version of PHP that came installed with 6.10 to get GMP working and recognized by it?
Thanks!
|