Results 1 to 7 of 7

Thread: apt-get lists php-cli

  1. #1
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,738

    apt-get lists php-cli

    Silly question, but will an apt-get upgrade be ok, it lists :
    php-pear php5-cli php5-common php5-dev
    I swear I've never seen php in there before on servers I upgrade regulary so I'm a bit weiry.

    TIA
    Regards, Peter
    UK Web Hosting - Professional & Reliable Shared and VPS Hosting! Offering DirectAdmin licences on our VPS's
    Free Web Tools

  2. #2
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,975
    Please post the output of:
    Code:
    dpkg -l | grep php
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  3. #3
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,738
    ~# dpkg -l | grep php
    ii php-config 1.10.11-1 Your configuration's swiss-army knife
    ii php-pear 5.2.6.dfsg.1-1+lenny8 PEAR - PHP Extension and Application Repository
    ii php5-cli 5.2.6.dfsg.1-1+lenny8 command-line interpreter for the php5 scripting language
    ii php5-common 5.2.6.dfsg.1-1+lenny8 Common files for packages built from the php5 source
    ii php5-dev 5.2.6.dfsg.1-1+lenny8 Files for PHP5 module development
    Regards, Peter
    UK Web Hosting - Professional & Reliable Shared and VPS Hosting! Offering DirectAdmin licences on our VPS's
    Free Web Tools

  4. #4
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,975
    So, remove PHP packages using "dpkg -r package" and run "apt-get upgrade" again Good luck!
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  5. #5
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,738
    This is weird......

    :~# dpkg -r php5-cli
    dpkg: dependency problems prevent removal of php5-cli:
    php-pear depends on php5-cli | php4-cli; however:
    Package php5-cli is to be removed.
    Package php4-cli is not installed.
    dpkg: error processing php5-cli (--remove):
    dependency problems - not removing
    Errors were encountered while processing:
    php5-cli
    :~# dpkg --get-selections | grep php
    php-config install
    php-pear install
    php5-cli deinstall
    php5-common install
    php5-dev install
    Maybe I did install php-pear at some point?
    Regards, Peter
    UK Web Hosting - Professional & Reliable Shared and VPS Hosting! Offering DirectAdmin licences on our VPS's
    Free Web Tools

  6. #6
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,975
    Yes, you need to remove php-pear too.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  7. #7
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,738
    Thing is, I'm sure I installed it for a reason..... What, I fogot lol!

    If I did let it install php-cli, it won't affect mod_apache I presume(?), but it may stuff up any cron stuff that uses the php binary?
    Regards, Peter
    UK Web Hosting - Professional & Reliable Shared and VPS Hosting! Offering DirectAdmin licences on our VPS's
    Free Web Tools

Similar Threads

  1. Mailing Lists
    By Kristina in forum General Technical Discussion & Troubleshooting
    Replies: 8
    Last Post: 11-24-2009, 05:59 PM
  2. Mailbox lists ?
    By h2d in forum E-Mail
    Replies: 8
    Last Post: 08-06-2007, 07:39 AM
  3. Searching Mailing Lists
    By transmobius in forum E-Mail
    Replies: 15
    Last Post: 06-29-2006, 07:13 PM
  4. Mailing Lists
    By rewiredit in forum DirectAdmin General Discussion
    Replies: 2
    Last Post: 06-04-2006, 10:41 AM
  5. Mailing Lists
    By Telfie in forum Feedback & Feature Requests
    Replies: 72
    Last Post: 12-06-2005, 12:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •