What does the PHP configuration option "--prefix=PREFIX" do?

Posted by Xeoncross on Stack Overflow See other posts from Stack Overflow or by Xeoncross
Published on 2010-05-22T21:00:21Z Indexed on 2010/05/22 21:11 UTC
Read the original article Hit count: 170

Filed under:
|
|

I have heard that setting the --prefix=PREFIX option when compiling PHP on linux will allow you to have more than one install of PHP at a time without them clashing. (I think the default if this isn't set is /usr/local). However, I'm not sure what exactly it does or what a good setting to use is. Furthermore, I've also heard that setting it to something other than the default value might make some PHP extensions harder to install.

./configure --prefix=PREFIX ...

© Stack Overflow or respective owner

Related posts about php

Related posts about compile