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

How to upgrade PHP to 5.2.4

Discussion in 'Plesk for Linux - 8.x and Older' started by akiva, Dec 18, 2007.

  1. akiva

    akiva Guest


    Is there an easy way to upgrade my PHP (linux) from 5.0.4 to 5.2.4?

    Or clear instructions that are New-to-linux friendly?

  2. Hedgren

    Hedgren Guest

    hi, what Linux is yours? Here is what I've found:
    "Plesk control panel itself doesn't use client PHP, its upgrade could affect only:
    1. Site applications
    2. Horde webmail
    3. PPWSE and Sitebuilder"
    There are no specific recommendations or steps because all the steps are identical to any other application update: 'rpm -Uvh' for RedHat-like OSes and 'dpkg -i' on Debians. Get package updates from OS vendor and use them. If OS vendor does not provide such packages, then you can try to find php v5 packaged with the third parties. There are hundreds of custom builds found all over the world, for example a well known http://www.atomicrocketturtle.com has really been a great source for such updates for many years. The most of problems which may appear with it are usually related to dependencies to third or system applications and can be solved accordingly.
    Also, SWsoft provides all Plesk packages necessary for php5 upgrade at ftp://download1.swsoft.com/ (also see http://autoupdate.plesk.com) with except of MySQL and PHP themselves, which are not the part of Plesk.
    In fact, you can try to update the package in single transaction (if your mirrors are set correctly), for example:
    # yum update php5.0.4... (RPMs)
    # apt-get update php5.0.4... (DEBs)
    Also try doing some search over this forum -- AFAIK there should be some similar threads with killograms of valuable info...
  3. akiva

    akiva Guest

    Thanks -- I'll look into using YUM