1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Upgrade php5 without removing psa (debian sarge)

Discussion in 'Plesk for Linux - 8.x and Older' started by Ronaldve, Nov 20, 2007.

  1. Ronaldve

    Ronaldve Guest

    0
     
    I would like to upgrade php5 but somehow I can't and have te remove psa together with php5 in order to be able to install a newer version of php5.

    When I do 'apt-get upgrade' I get this response:
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following packages have been kept back:
    libapache2-mod-php5 libming-dev php-pear php5-cli php5-common php5-curl
    php5-gd php5-imap php5-mysql php5-pgsql php5-snmp php5-suhosin php5-tidy
    php5-xmlrpc php5-xsl
    0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.


    Then I did a 'apt-get -s dist-upgrade' I get this response:
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Calculating Upgrade... Done
    The following packages will be REMOVED:
    libapache2-mod-php5 libpam-plesk miva-ssl-stub php-pear php5-cli php5-curl
    php5-gd php5-imap php5-mysql php5-pgsql php5-snmp php5-tidy php5-xmlrpc
    php5-xsl psa psa-api psa-api-rpc psa-awstats-configurator psa-backup-manager
    psa-firewall psa-horde psa-imp psa-ingo psa-kronolith
    psa-manual-custom-skin-guide psa-migration-manager psa-mimp psa-miva
    psa-mnemo psa-passwd psa-php5-configurator psa-qmail-rblsmtpd
    psa-rubyrails-configurator psa-turba psa-updates psa-watchdog
    The following packages have been kept back:
    libming-dev
    The following packages will be upgraded:
    php5-common php5-suhosin
    2 upgraded, 0 newly installed, 36 to remove and 1 not upgraded.



    So how do I get php5 upgraded without having to remove all the psa packages?
     
  2. gregory_storme

    gregory_storme Guest

    0
     
    i haven't installed php5 on sarge with plesk yet, what i did is edit the sources.list to debian etch, do a dist-upgrade, and then install php5 with the psa-php5-configurator package afterwards
     
  3. Ronaldve

    Ronaldve Guest

    0
     
    Ok, i've edited sources.list so everything points to etch.
    When I do a 'apt-get -s dist-upgrade' (simulation)
    I get a huge list of files that get installed and removed. But it still wants to remove the psa packages :(
     
  4. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    do you like to update only php or update to etch - that's 2 different things ....

    i have done both many times with no problems.
     
  5. Ronaldve

    Ronaldve Guest

    0
     
    The intention was to upgrade only php. But a upgrade to etch is an option.

    If I upgrade to etch using dist-upgrade and thus removing the psa packages, do I have to completely reinstall all plesk stuff, like the licence key, the websites, everything?

    I just want to upgrade php5 to a newer version with leaving the plesk install intact.
     
  6. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    that's no problem, you don't need do reinstall something

    ok, now step by step ...

    first show us your source.list ....



    if you like contact me pm for icq/msn/google talk
     
  7. Ronaldve

    Ronaldve Guest

    0
     
    My current sources.list file contains this:

    ---
    #deb file:///cdrom/ sarge main

    deb http://ftp.surfnet.nl/os/Linux/distr/debian/ sarge main non-free contrib
    deb-src http://ftp.surfnet.nl/os/Linux/distr/debian/ sarge main

    deb http://security.debian.org/ sarge/updates main

    deb http://download.concepts.nl/dotdeb stable all
    deb-src http://download.concepts.nl/dotdeb stable all

    #deb http://ftp.surfnet.nl/os/Linux/distr/debian/ testing main non-free contrib
    #deb-src http://ftp.surfnet.nl/os/Linux/distr/debian/ testing main

    #deb http://ftp.surfnet.nl/os/Linux/distr/debian/ unstable main non-free contrib
    #deb-src http://ftp.surfnet.nl/os/Linux/distr/debian/ unstable main

    deb http://www.backports.org/debian/ sarge-backports main contrib non-free

    ## This is temporary appended by Autoinstaller from SWsoft for
    ## specify source of product's packages for APT.
    deb http://autoinstall.plesk.com/debian/PSA_8.2.1 sarge all
    ---

    when I change all sarge strings to etch and do a 'apt-get -s dist-upgrade' it won't remove, but upgrade psa.
    On the end it gives this error:
    E: Couldn't configure pre-depend psa-8.2.1 for psa-api-rpc, probably a dependency cycle.

    This is my new sources.list:
    ---
    #deb file:///cdrom/ etch main

    deb http://ftp.surfnet.nl/os/Linux/distr/debian/ etch main non-free contrib
    deb-src http://ftp.surfnet.nl/os/Linux/distr/debian/ etch main

    deb http://security.debian.org/ etch/updates main

    deb http://download.concepts.nl/dotdeb stable all
    deb-src http://download.concepts.nl/dotdeb stable all

    #deb http://ftp.surfnet.nl/os/Linux/distr/debian/ testing main non-free contrib
    #deb-src http://ftp.surfnet.nl/os/Linux/distr/debian/ testing main

    #deb http://ftp.surfnet.nl/os/Linux/distr/debian/ unstable main non-free contrib
    #deb-src http://ftp.surfnet.nl/os/Linux/distr/debian/ unstable main

    deb http://www.backports.org/debian/ etch-backports main contrib non-free

    ## This is temporary appended by Autoinstaller from SWsoft for
    ## specify source of product's packages for APT.
    deb http://autoinstall.plesk.com/debian/PSA_8.2.1 etch all
    ---
     
  8. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    you have installed sarge with all updates before change to etch ?

    please change the dotdeb lines to sarge/etch not stable ...
     
  9. Ronaldve

    Ronaldve Guest

    0
     
    With that I was able to upgrade php on sarge without having to remove psa.

    Do you know if there's a php-mssql package somewhere?
    For a project i have to be able to use mssql with php.
     
  10. Ronaldve

    Ronaldve Guest

    0
     
    Seems I need to use php5-sybase :)

    Also noticed php 5.2.5 stalls horde webmail, but that can be fixed with this.

    edit: some mssql functions like 'mssql_min_error_severity()' do not seem to work. They throw a 'Call to undefined function' error.
    But Basic functions like connecting to the database and execute querys work fine.
    (CakePHP utlilizes some functions that do not work)
     
  11. ziba@

    ziba@ Guest

    0
     
    you should install psa-php5-configurator as well as explained in knowledge base article:
    http://kb.swsoft.com/en/1762
     
  12. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
Loading...