Problem installing php5

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


-----BEGIN PGP SIGNED MESSAGE-----
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 <http://www.pete.gontier.org/>

Thanks for your help,
Simon
- --
+ privacy is necessary
+ using http://gnupg.org
+ public key id: 0x6115F804EFB33229
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGetSDYRX4BO+zMikRCipzAJ4kJL/ncLsEt4C8PCh4xNqVSwGDOACfXYSl
l/qzZQB0KNhLVQvBKHUTUOs=
=45ju
-----END PGP SIGNATURE-----



More information about the macports-users mailing list