Possible to recompile/build PHP with specific compile option

Jeremy Lavergne jeremy at lavergne.gotdns.org
Sat Nov 5 17:02:56 PDT 2011


> My question is, is it possible to use PHP via Macports but with the "--enable-fd-setsize=2048" option?

You ought to be able to add this to your Portfile to add that configuration it:
configure.args-append --enable-fd-setsize=2048

Once it's there, uninstall and reinstall but be sure to force macports to build from source, like so:
port -s install php5



You can similarly use configure.args-delete to remove arguments.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20111105/a228d9a7/attachment.bin>


More information about the macports-users mailing list