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 Can I update PHP?

Discussion in 'Plesk for Linux - 8.x and Older' started by crnunez, Jun 14, 2006.

  1. crnunez

    crnunez Regular Pleskian

    25
    90%
    Joined:
    May 24, 2006
    Messages:
    124
    Likes Received:
    0
    Hello friends,
    I attempt to upgrade to PHP 4.4.2 but:

    [root@root]# up2date -l

    Fetching Obsoletes list for channel: rhel-i386-es-4...

    Fetching Obsoletes list for channel: rhel-i386-es-4-extras...

    Fetching Obsoletes list for channel: atomic...

    Fetching rpm headers...
    ########################################

    Name Version Rel
    ----------------------------------------------------------
    mysql 4.1.20 1.art.rhel4.art i386
    mysql-server 4.1.20 1.art.rhel4.art i386
    php-devel 4.4.2 3.rhel4.art i386
    php-domxml 4.4.2 3.rhel4.art i386
    php-imap 4.4.2 3.rhel4.art i386
    php-ldap 4.4.2 3.rhel4.art i386
    php-mbstring 4.4.2 3.rhel4.art i386
    php-mysql 4.4.2 3.rhel4.art i386
    php-odbc 4.4.2 3.rhel4.art i386
    php-pear 4.4.2 3.rhel4.art i386
    php-pgsql 4.4.2 3.rhel4.art i386

    The following Packages were marked to be skipped by your configuration:

    Name Version Rel Reason
    -------------------------------------------------------------------------------
    php 4.4.2 3.rhel4.artConfig modified
    **********************************
    I have on my server:
    Plesk 8.0
    Red Hat Linux 4
    PHP 4.3.9-3-12

    I attempt update PHP through "update - u"

    /etc/sysconfig/rhn/sources
    ### up2date config file). This is required.
    up2date default

    ### Note: when a channel label is required for the non up2date repos,
    ### the label is solely used as an internal identifier and is not
    ### based on the url or any other info from the repos.

    ### An apt style repo (the example is arjan's 2.6 kernel repo).
    ### The format is:
    ### type channel-label service:server path repo name
    #apt arjan-2.6-kernel-i386 http://people.redhat.com ~arjanv/2.5/ kernel

    ### Note: for apt repos, there can be multiple repo names specified (space
    ### seperated).

    ### A yum style repo. The format is:
    ### type channel-label url
    #yum fedora-core-development http://download.fedora.redhat.com/pub/fedora/linux/core/development/$ARCH/

    ### Atomic RPMS
    yum atomic http://3es.atomicrocketturtle.com/atomic/art/4ES/


    How Can I update PHP? (but without destroy Plesk)

    Someone has any idea for resolve this problem? Thanks
     
  2. poke

    poke Guest

    0
     
    just remove the relavent packages from the "skip" list...

    Also, on SOME systems, I've overcome this silly issue with a:
    rpm -e php-pgsql on systems that don't run pgsql. If not you might need to force some things..
     
  3. crnunez

    crnunez Regular Pleskian

    25
    90%
    Joined:
    May 24, 2006
    Messages:
    124
    Likes Received:
    0
    Thanks!

    But, I don't have any packages in the skip list, for an strange reason the autoupdater think that "php 4.4.2 3.rhel4.artConfig modified for other application".

    What does "php 4.4.2 3.rhel4.artConfig modified" mean? Because I don't have php 4.4.2 install on my system. Only on my system I have PHP 4.3.9 installed.

    If I force the install, will I have some trouble with Plesk (integration, components)?

    Really thanks for any help!
     
  4. crnunez

    crnunez Regular Pleskian

    25
    90%
    Joined:
    May 24, 2006
    Messages:
    124
    Likes Received:
    0
    Hello,
    Why occurs it?
    Thanks for any help about this problem!
     
  5. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Try upgrading through yum, it has much better debugging output, and dependency resolution.
     
  6. Jim Deakin

    Jim Deakin Guest

    0
     
    It's saying that you've modified the php config file for your current version, and in your options you've told yum not to update items with modified configs. Save your current config just in case, then set your option to allow it.

    Jim Deakin
     
Loading...