Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Server Platforms
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Server Platforms
Discussion regarding any server based ubuntu release.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old February 2nd, 2007   #1
Keith_S
First Cup of Ubuntu
 
Join Date: Feb 2007
Beans: 9
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!
Keith_S is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:39 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry