# Compiling PHP from Source with GMP

**URL:** https://forum.kirupa.com/t/compiling-php-from-source-with-gmp/176080
**Category:** programming
**Created:** [January 20, 2006, 4:43am UTC](https://forum.kirupa.com/t/compiling-php-from-source-with-gmp/176080 "2006-01-20T04:43:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)
#### Post date: [January 20, 2006, 4:43am UTC](https://forum.kirupa.com/t/compiling-php-from-source-with-gmp/176080/1 "2006-01-20T04:43:41Z")

</div>

Ok guru friends,

I’ve never compiled anything from source. I really need [GMP](http://www.php.net/gmp) for my Math programs, but have no idea how to install it.

I know I’ll have to reinstall php5, but can somebody step me through it?

Of course, I’m doing this on a Mac 😉

Also, while I’m at it, I have another question that may belong in Client-side. Any suggestions on how to do graphing of points and lines, both in 2d and 3d (I have the coordinates in Point, Line, Shape, Rectangle, and many others)? That’d be very useful.

Thanks. 🙂
