php5 port

Scott Haneda talklists at newgeo.com
Sun Nov 23 13:52:41 PST 2008


On Nov 21, 2008, at 8:47 PM, Ryan Schmidt wrote:

> On Nov 21, 2008, at 20:21, Scott Haneda wrote:
>
>> On Nov 21, 2008, at 6:08 PM, Ryan Schmidt wrote:
>>
>>> On Nov 21, 2008, at 18:51, Scott Haneda wrote:
>>>
>>>> Hello, I have in the past, successfully installed via ports  
>>>> apache2 with php and mysql.  I have a friend who has been  
>>>> hobbling together his install, I think sprinkling a little CPAN,  
>>>> and a little Fink on the recipe as well.  IMO, over seasoning...
>>>
>>> Yes. It is not supported to mix MacPorts and Fink, and I can't  
>>> think of why you would need to manually use anything from CPAN.  
>>> MacPorts includes CPAN modules.
>>>
>>> Why is your friend not just typing "sudo port install php5"?
>>>
>>> Has your friend read the guide we have to installing Apache, PHP,  
>>> MySQL using MacPorts?
>>>
>>> http://trac.macports.org/wiki/howto/MAMP
>>
>> Sorry, I guess I was not clear.  The php5 port for MacPorts has  
>> certain configure options to it.  Some that are needed for his  
>> environment are missing. For example, the php5 port does not have  
>> ldap support, etc etc.
>
> The php5 port uses the configure option "--with-ldap=/usr" so it's  
> intended that LDAP support exist. Does it not work? I've never tried  
> it; I don't have an LDAP server. If it's broken and we need to fix  
> it, let me know, or file a ticket.
>
> What other options do you need? Possibly we can add variants for  
> them. I assume you've already checked the available variants? ("port  
> variants php5")


I posted a list in my first email.  Regardless, just so I get the  
methodology, lets say that I needed some obscure php configure option.  
What is the process for getting it in?  Do I create a variant, and  
that essentially just instructs the php port to append the new  
configure lien to the current php configure line?  This then allows me  
to make php easily into whatever I want?

For example, not that I would want to do this, but say I wanted to use  
ports to install php with --disable-short-tags, how do you make that  
happen?

I am a small ISP, I have a good deal of friends from other mail lists  
that are as well, and we all more or less have the same needs of php,  
as our clients have dictated what tools they need in php.  We want a  
minimum case, that meets those needs.  All I am trying to do, is get a  
few more little features in php to make it work in a large scale  
shared hosting environment.

The current php is great, and I have used it for local dev, but I have  
a feeling there are some forums, and bug trackers, and other tools,  
that need some strange thing in php, that the current port does not  
have.

Thanks
--
Scott



More information about the macports-users mailing list