Date: Fri, 29 Apr 2005 17:30:11 +0300 From: Odhiambo Washington <wash@wananchi.com> To: freebsd-questions@freebsd.org Subject: Re: php5-extensions & php5-cli Message-ID: <20050429143011.GC55847@ns2.wananchi.com> In-Reply-To: <1efd1aec05042907212dac8885@mail.gmail.com> References: <1efd1aec05042907212dac8885@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Gavin Cameron <ggcameron@gmail.com> [20050429 17:22]: wrote: > Hi all, > > Is there anyway using the ports to install php5-extensions & php5-cli? > > I've got php5-cli installed and when I try to install php5-extensions > I get the error: > > This port requires the Apache Module for PHP, but you have already > installed a conflicting PHP port without the Apache Module. > *** Error code 1 > > Now, installing php5-cli does appears to install the Apache module cause I have > a new libphp5.so in /usr/local/libexec/apache2 which correspond to the install > I just did of php5-cli and apache is quite happily serving out .php > files correctly. > > Am I doing something wrong? > > What is the easiest way to get php module, php CLI plus extensions installed > on one machine? With php4 (and I assume this is the same with php5): cd /usr/ports/lang/php5 && make WITH_APACHE2=yes install clean cd /usr/ports/lang/php5-extensions && make config && make install clean That has always worked for me with php4. -Wash http://www.netmeister.org/news/learn2quote.html -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <wash@wananchi.com> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Even if you do learn to speak correct English, whom are you going to speak it to? -- Clarence Darrow
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050429143011.GC55847>