Date: Tue, 26 Aug 2008 13:59:48 -0700 From: chris#@1command.com To: freebsd-stable@freebsd.org Subject: Re: changing a ports final destination via make knobs question... Message-ID: <20080826135948.oe6xhw1m8sokkg80@webmail.1command.com> In-Reply-To: <48B46953.6090307@smartt.com> References: <20080826124253.7rfp8sb8rcgs0o0o@webmail.1command.com> <48B46953.6090307@smartt.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Chris St Denis <chris@smartt.com>: > chris#@1command.com wrote: >> Greetings, >> Given that the folks at PHP have decided that no one is allowed >> to use PHP4 any longer. I've decided to *attempt* to install a copy >> of PHP5 (cgi only) along side my already installed/configured, and >> in use copy of PHP4 (apache_module, CLI, & CGI). I spent some time >> attempting to find successful stories regarding my attempt. But all >> were for different OS's, and most were *quite* dated. So I took a >> stab at it, after looking at the Makefile in lang/php5. But it did >> *NOT* end up where I thought it would. In fact, it clobbered >> some of my PHP4 install. SO, please find here my desperate plea >> for the make knob(s)/env options required to install a copy of >> PHP5 (CGI) beside my already installed/working PHP4. I had tried/ >> hoped to simply create a --prefix=php5/, thinking that I'd end up >> with: /usr/local/bin/php5/(php-cgi, phpize, php-config), and >> /usr/local/etc/php5/php-ini-*, /usr/local/include/php5/*, >> /usr/local/lib/php5/*. by way of the ports system. But I *clearly* >> didn't set things correctly. >> >> *Any* help/advice would be *GREATLY* appreciated. >> >> Thank you for all your time and consideration. >> >> --Chris >> >> >> _______________________________________________ >> 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" > This should probably go on freebsd-questions list Hello, and thank you for your reply. Agreed, but my inbox couldn't handle the volume. So since I've already been subscribed to this list for a few yrs. I hoped that given this should likely end up a short thread, it'd be no big deal. :) > > Try *make **PREFIX=/usr/local/php5* and *make install > **PREFIX=/usr/local/php5* I can't help but notice that your suggested make defines are wrapped in asterisks. I'm going to assume you did that to highlight them. :) > > I did this to get php4 working as a cgi with php5 installed regularly > as mod_php. Seems to work ok. * * > I'll give it a go. Thanks for the suggestion. --Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080826135948.oe6xhw1m8sokkg80>