[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Command-line PHP with Woody



On Thu, 7 Apr 2005, Robert S wrote:

> > Is there something wrong with the copy in woody?  Earlier posts you made
> > indicate you already have it installed (you pasted the output).
> >
> > Is the version too early for your needs?
> >
> There is a php4 binary in Woody, but it does not produce the expected result 
> when used from the command line.  Apparently php4-cli was only available 

What was the problem?

> One other question - is it possible to compile and install php-cli from 
> source in (eg.) /usr/local/php? - without affecting the rest of my 
> installation? 

Sure I've done this many times when I didn't want to go to the trouble of 
making a package.  One option is to install it in /opt/php-xx.yy.zz 
(version) and link the binary there to /usr/local/bin/php.  This makes 
later version updates easy.  Some components are not compiled in by 
default and need flags to configure.

Rob

-- 
Robert Brockway B.Sc.
Senior Technical Consultant, OpenTrend Solutions Ltd.
Phone: +1-416-669-3073 Email: rbrockway@opentrend.net http://www.opentrend.net
OpenTrend Solutions: Reliable, secure solutions to real world problems.
Contributing Member of Software in the Public Interest (http://www.spi-inc.org)



Reply to: