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

Plesk 8.1 PHP upgrade

Discussion in 'Plesk for Linux - 8.x and Older' started by dav666, Jan 9, 2007.

  1. dav666

    dav666 Guest

    0
     
    Hello

    I have waited for a while to see if Plesk would upgrade my version of PHP from 4.3.9 to any version above 5. Now I am beginning to think the Plesk updater is not capable of updating PHP.

    Is there a way to install a version of PHP 5 that will replace my current version and "play nice" with Plesk and its other components?

    My server OS is CentOS 3.x and I am more or less a complete linux no0b!

    Any help would be deeply appreciated.

    Thank you
    Dav
     
  2. blank_page

    blank_page Regular Pleskian

    24
    53%
    Joined:
    Dec 17, 2006
    Messages:
    229
    Likes Received:
    0
    Hi,

    Why would plesk updater upgrade php. It upgrades plesk.

    You can update php with rpms using yum or better you download the rpm and install.

    I do not believe that it is possible a clean install, you will meet some dependencies and you may have problems with php 5 modules. But nothing that cannot be corrected.
     
  3. dav666

    dav666 Guest

    0
     
    I was under the understanding that Plesk installed PHP on my server? Therefore shouldn't it update it automatically?

    I checked "yum update" but it did not find a version of PHP greater than 4.

    Also I am worried that perform this update may break Plesk either now or in the future.
     
  4. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    The best way for you to upgrade php would be to use ART's yum repository. All of ART's rpms (in his Atomic section) are created to "play nice" with Plesk, Scott was one of the original creators of Plesk. Check it out at http://www.atomicrocketturtle.com
     
  5. dav666

    dav666 Guest

    0
     
    Thanks for your reply.

    I have seen that site mentioned before. I can't seem to find any information on how to upgrade via yum though?

    I see references to add a repository but not how to do it? I am unsure what files to edit and whether I have to restart anything once I have made the edit.

    As far as I am aware, after that its just a case of "yum update php"?

    Any help please?
     
  6. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    Go to this link for info on editing your /etc/yum.conf file to work with ART's repository.

    http://3es.atomicrocketturtle.com/yum/

    Also, don't forget the GPG Key

    Or you could post on ART's forum, he is usually very helpful.
     
  7. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
  8. Fenice

    Fenice Guest

    0
     
    Hello,

    I used ART packages many times in the past, but I now need to upgrade to the latest version of PHP (ART has 5.1.6 in bleeding channel or 5.0.4 in main channel) and compile it with some additional modules.

    How can I do it without breaking Plesk? Isn't there a guide, or some indications for upgrading PHP on Plesk machines?

    Thanks!
     
  9. neorder

    neorder Guest

    0
     
    many thanks to the creator of atomicrocketturtle.com

    why can't plesk offer a similar service? that's why plesk sux.
     
  10. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Well I am a founder of plesk, does that help? :p

    On rebuilding php, the src.rpm's are up on my site. Ive got conditional build examples in the spec file on a bunch of things (mssql, oracle, mhash, etc) if you need pointers.
     
  11. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    Hi guys,

    I dont mean to revive an old thread, but I did the following:

    Code:
    wget [url]http://3es.atomicrocketturtle.com/installers/atomic.sh[/url]
    
    chmod +x atomic.sh ; ./atomic.sh
    
    And I got this output

    Code:
    Configuring the [atomic] yum archive for this system
    
    Error: Unable to determine distribution type. Please send the contents of /etc/redhat-release to [email]support@atomicorp.com[/email]
    
    so I checked the file
    Code:
    cat /etc/redhat-release
    Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
    
    So I then went and did the steps listed here:
    http://3es.atomicrocketturtle.com/yum/

    Code:
    Manual Configuration: RHEL4
    edit /etc/sysconfig/rhn/sources
    replace ARCH with you architecture, x86_64, or i386
    # Atomic
    yum atomic [url]http://3es.atomicrocketturtle.com/atomic/art/4ES/[/url]
    
    # Atomic App Vault
    yum atomic-app-vault [url]http://3es.atomicrocketturtle.com/atomic/app-vault/[/url]
    
    # SW-Soft PSA 8.1
    yum psa-8.1 [url]http://3es.atomicrocketturtle.com/atomic/psa-8.1/redhat/4/i386[/url]
    
    now when I run up2date it finds the PHP 5 and that jazz, as well as a few more updates - but it errors.

    Code:
    Testing package set / solving RPM inter-dependencies...
    
    Downloading headers to solve dependencies...
    #######################################
    Downloading headers to solve dependencies...
    #######################################
    Downloading headers to solve dependencies...
    There was a package dependency problem. The message was:
    
    Unresolvable chain of dependencies:
    php-domxml-4.3.9-3.22.5                  requires php = 4.3.9-3.22.5
    
    
    The following packages were added to your selection to satisfy dependencies:
    Package                                Required by
    ----------------------------------------------------------------------------
    
    
    php-domxml was not listed in the up2date output, but it seems like it needs to install a component for php 4.3 in order to install php 5 ??

    Am I off on that?
     
  12. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
  13. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    I still get the same thing

    Code:
    
    Atomic Archive installer, version 0.9.3
    Configuring the [atomic] yum archive for this system
    
    Error: Unable to determine distribution type. Please send the contents of /etc/redhat-release to [email]support@atomicorp.com[/email]
    
     
  14. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Did you send the output to support@atomicorp.com? I could look at it, but Im completely committed on ASL right now.
     
  15. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    I did not no - at least not yet - I was checking here first to see if there was anyone who had the same problem.

    The output seems to be standard:
    Code:
    Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
    
    I will go check the atomic turtle forums as well.
     
  16. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    Update: The atomic support have fixed the installer and I have successfully installed PHP 5.2.3 :)

    Thank you guys!
     
Loading...