Problem installing php5

Simon Ruderich simon at
Thu Jun 21 12:41:56 PDT 2007

Hash: SHA512

Pete Gontier wrote:
> This sounds like the problem I saw a few days ago. MacPorts builds 
> php5 against Apple's Apache rather than MacPorts' Apache. This is a 
> bug in the php5 package. On Jun 12, 2007, at 4:21 PM, Ryan Schmidt 
> wrote:
> "php5 +apache" currently uses Apple's Apache. This is inconsistent 
> with MacPorts general policy and I will change it, eventually, so 
> that +apache will use MacPorts Apache 1, and a new variant 
> +apache_apple will use Apple's Apache.
> ...
> Looks like I should really get a move on and fix the php5 +apache
> variant to do what we say in the FAQ we do -- which is, use MacPorts
> software, not Apple software, by default, unless there's a good
> reason not to.

It would be real nice if this could be fixed. I tried it myself but it
didn't worked. I guess I have missed something in the post-destroot
phase, but I'm not sure.

> The php5 you have installed now will probably work fine with Apple's
> Apache -- at least it works fine for me. This means you need to edit
> /etc/httpd/httpd.conf rather than whatever file you edited in order 
> to tell Apache to load php5.

Yes, thanks. I changed the httpd.conf file and it's working fine.

> — Pete Gontier <>

Thanks for your help,
- --
+ privacy is necessary
+ using
+ public key id: 0x6115F804EFB33229
Version: GnuPG v1.4.7 (Darwin)


More information about the macports-users mailing list