Re: php5-extensions & php5-cli

From: Gavin Cameron (ggcameron_at_gmail.com)
Date: 04/30/05

  • Next message: Andy W. Clements: "Re: help w/ Dell PowerEdge sc420"
    Date: Sat, 30 Apr 2005 11:49:19 +1000
    To: Odhiambo Washington <wash@wananchi.com>, freebsd-questions@freebsd.org
    
    

    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@wananchi.com> wrote:
    > * 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
    > _______________________________________________
    > freebsd-questions@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    >
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Andy W. Clements: "Re: help w/ Dell PowerEdge sc420"

    Relevant Pages

    • Re: Php5 port and Apache Module
      ... possible to install php5 from the packages .. ... in any way of justifying removing the apache module from the default setting ... people installing php do so for use as an apache module. ...
      (freebsd-questions)
    • Re: Extension files not loading
      ... If an Apache module doesn't use those files it is not necessary to load ... the newsgroup - and it's way too long for a newsgroup, ... You want to use more than one PHP version? ... along with PHP and they both have LibMySQL.dll in distro. ...
      (comp.lang.php)
    • Re: What are the pros and cons of running php as a regular CGI
      ... Personally I would not accept these "drawbacks". ... company to offer PHP as an Apache module so I can have the FULL power of ... Apache and PHP at my disposal. ... > regular CGI by default. ...
      (comp.lang.php)
    • Re: does the phpinfo() command ever lie?
      ... > If you are using PHP as an Apache module, ... > module AND the CGI). ... I'm dealing with an Apache module version of PHP? ...
      (comp.lang.php)
    • Re: Bandwidth/Download Limit
      ... > using PHP. ... I know that an Apache module can do that, ... > My idea was to put the file into a .htaccess protected diretory and to ... with locations and call a php script with an array index to get the ...
      (comp.lang.php)