changing a ports final destination via make knobs question...

Chris St Denis chris at
Tue Aug 26 21:02:54 UTC 2008 wrote:
> Quoting Chris St Denis <chris at>:
>> 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 at mailing list
>>> To unsubscribe, send any mail to 
>>> "freebsd-stable-unsubscribe at"
>> 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
> _______________________________________________
> freebsd-stable at mailing list
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at"

I had them bold, the list server seems to have converted the bold to the 
*'s. They should not be in the command.

More information about the freebsd-stable mailing list