Re: php5-extensions & php5-cli

From: Odhiambo Washington (wash_at_wananchi.com)
Date: 04/29/05

  • Next message: Brett Wiggins: "make installworld problem"
    Date: Fri, 29 Apr 2005 17:30:11 +0300
    To: freebsd-questions@freebsd.org
    
    

    * 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"
    

  • Next message: Brett Wiggins: "make installworld problem"

    Relevant Pages

    • Re: php5-extensions & php5-cli
      ... >> installed a conflicting PHP port without the Apache Module. ... > Even if you do learn to speak correct English, ...
      (freebsd-questions)
    • 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)
    • Recommendations for PHP debuggers?
      ... I'm just a lone PHP programmer doing web pages for mainly non-profit ... for installing DBG, and the one forum entry on the topic I found: ... Does anyone know how to get a reliable PHP graphical debugger to ...
      (Ubuntu)
    • PHP, IIS and MSSQL Installation problems
      ... I recently installed PHP5 using the manual method described in the ... associated help file. ... installing it on our server rather than on a local machine for ... worked and told me what I expected to see and my php webpages worked. ...
      (php.general)
    • Re: Why does aspx pages crash my machine?
      ... I'm pretty sure that the OP solved his problem by disabling a firewall app ... PHP is really terrible for scalability. ... installing ... > I note that it's IE causing the problem - in my experience errors like ...
      (microsoft.public.dotnet.framework)