php5-extensions & php5-cli

Gavin Cameron ggcameron at gmail.com
Fri Apr 29 18:49:21 PDT 2005


Thanks... I'll try the plain on php5 port rather than php5-cli or mod_php5.

Ta
Gavin


On 4/30/05, Odhiambo Washington <wash at wananchi.com> wrote:
> * Gavin Cameron <ggcameron at 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 at 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list