How do I install php4 with pear and GD and some other options using ports? I no longer get the config menu that used to apear. I tried make config and it gave me a small menu but not the full menu I am used to seeing. I installed mod_php4 via ports and then tried to install Pear but I get an error about conflicting version of mod php4 and php4-cli. Pear requires php4_cli but can't install it. I tried deinstall all mod_php4 and did an install of lang/php4 now pear works but apache no longer uses php. And now cant install mod_php4. I know I am doing something wrong. could some one point me in the right direction? I have hunted on the net and haven't found much. Thanks -- Jaimie Garner Onsite PCS inc. 323 SE RIverside AV Grants Pass, OR 97526 541.471.1343 866.471.1343 jaimie@onsitepcs.net www.onistepcs.net
To install mod_php4 and php4-cli do cd /usr/ports/php4 make && make install For any extensions that you require do cd /usr/ports/lang/php4-extentsions make if the menu does not appear do cd /usr/ports/lang/php4-extentsions make config Regards Danny Cooper -----Original Message----- From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Jaimie Garner Sent: 04 July 2005 19:02 To: freebsd-stable@freebsd.org Subject: PHP4 and pear Ports How do I install php4 with pear and GD and some other options using ports? I no longer get the config menu that used to apear. I tried make config and it gave me a small menu but not the full menu I am used to seeing. I installed mod_php4 via ports and then tried to install Pear but I get an error about conflicting version of mod php4 and php4-cli. Pear requires php4_cli but can't install it. I tried deinstall all mod_php4 and did an install of lang/php4 now pear works but apache no longer uses php. And now cant install mod_php4. I know I am doing something wrong. could some one point me in the right direction? I have hunted on the net and haven't found much. Thanks -- Jaimie Garner Onsite PCS inc. 323 SE RIverside AV Grants Pass, OR 97526 541.471.1343 866.471.1343 jaimie@onsitepcs.net www.onistepcs.net _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
On Mon, 4 Jul 2005 19:58:30 +0100 "Danny Cooper" <freebsd@as9105.com> wrote:> To install mod_php4 and php4-cli do > > cd /usr/ports/php4 > make && make install > > For any extensions that you require do > > cd /usr/ports/lang/php4-extentsions > make > > if the menu does not appear do > > cd /usr/ports/lang/php4-extentsions > make configif the menu does not appear : make rmconfig
> How do I install php4 with pear and GD and some other options using ports? > > I no longer get the config menu that used to apear. I tried make config and it > gave me a small menu but not the full menu I am used to seeing.Edit the file /var/db/ports/php4-extensions/options, change the required values, and it should work from there. If you can't find the file verify that php4-extensions is installed. regards Claus