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 php package

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by abubin, Jul 6, 2009.

  1. abubin

    abubin Guest

    0
     
    I am using centos 5.2 x64 for plesk 9.2. The current version of php for centos is 5.1.2.

    I would like to upgrade this to latest version but do not want to risk breaking plesk. Would it be possible to upgrade the php version using atomicrocketturtle repository? I have installed ART and using yum can see the latest version is 5.2.9. Can I use yum to upgrade this php? Would it break plesk? Any other method to upgrade without breaking plesk?

    Thanks.
     
  2. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    It will drop right into plesk, nothing to worry about
     
  3. abubin

    abubin Guest

    0
     
    oh..thanks turtle, nice of you to drop in.

    Few more questions,

    1) If I upgrade, what about other components like zend optimizer and ioncube which I already installed? Need to install again?

    2) What about other php modules? I think the modules would need to be installed again to new version, right?

    3) I am assuming since you said to just upgrade, I am assuming it won't make any changes to php.ini or other plesk related config files?

    4) Any way to fallback if the installation gone wrong?

    Thanks.
     
  4. atomicturtle

    atomicturtle Golden Pleskian

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

    abubin Guest

    0
     
    Is this ok [y/N]: y
    Downloading Packages:
    (1/1): php-ioncube-loader 100% |=========================| 990 kB 00:03
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    sed: cannot rename /etc//sedALagPF: Invalid cross-device link
    error: %pre(php-ioncube-loader-3.1-7.el5.art.x86_64) scriptlet failed, exit status 4
    error: install: %pre scriptlet failed (2), skipping php-ioncube-loader-3.1-7.el5.art
     
  6. abubin

    abubin Guest

    0
     
    i had to edit the php.ini file to load ioncube for php 5.2 (previously was using 5.1).

    Thanks!!
     
  7. SALTZMANNn

    SALTZMANNn Guest

    0
     

    What can i do to solve my probleme
     
  8. Maa

    Maa Guest

    0
     
    Well, you can use "--force" key to accomplish sqlite installation.
    I'm not sure if it would fix php update issue, but at least you sould advance one step forward.
     
  9. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    what do you get when you run "yum upgrade"
     
  10. AndresT

    AndresT New Pleskian

    19
    85%
    Joined:
    Aug 25, 2009
    Messages:
    16
    Likes Received:
    0
    hello atomicturtle

    I setup a testing server to check out te latest plesk for linux. I got a similar error as well, my install is the default CentOS 5.3 Server Install and Plesk 9.2.2 my current goal is to complete this guide and setup our production server very soon: http://www.grafxsoftware.com/faq.php/HOW-TO-Setup-a-PLESK-Dedicated-Server/1/4/

    did this before setting up plesk ( it was recommended by another guide I was reading, it said these packages conflicted with the onse in plesk )

    Installed plesk 9.2.2 after that with no problem.

    Added the ART Repository to yum, enabled it to plesk 9.2

    When i do a "yum update" i get this error:

     
  11. AndresT

    AndresT New Pleskian

    19
    85%
    Joined:
    Aug 25, 2009
    Messages:
    16
    Likes Received:
    0
    What can I do, I'm fairly new to linux, set this box so I can learn and then setup our final production box.

    Thanks in advance

    -Andres
     
  12. AndresT

    AndresT New Pleskian

    19
    85%
    Joined:
    Aug 25, 2009
    Messages:
    16
    Likes Received:
    0
    did some digging and managed to get "yum update" to work by removing the packages that were giving me de dependency problems

    did

    "yum update" is installing 89 packages as I post this, will update after it finishes

    -Andres
     
  13. AndresT

    AndresT New Pleskian

    19
    85%
    Joined:
    Aug 25, 2009
    Messages:
    16
    Likes Received:
    0
    after the process was done apache didn't start , did some digging and reinstalled psa-tomcat-configurator since it had removed "mod_jk" that apache was missing

     
  14. Jeff Hester

    Jeff Hester Guest

    0
     
    I'm trying to update from PHP 5.1 to PHP 5.2.6 or better, and running Plesk 9.2 on RHEL 5.

    I've followed the directions at http://www.atomicorp.com/wiki/index.php/PHP, but get errors when updating.

    Tried just using yum update php and go the following:

    Loaded plugins: rhnplugin, security
    http://atomicorp.com/channels/asl-2.0/centos/5/i386/repodata/repomd.xml: [Errno 14] HTTP Error 401: Authorization Required
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: asl-2.0. Please verify its path and try again

    Any suggestions?
     
  15. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    That means you have the wrong username and/or password for your ASL account.
     
  16. Jeff Hester

    Jeff Hester Guest

    0
     
    So I figured. I don't have an ASL account. I didn't realize it was necessary for the RPMs.
     
  17. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Its not, [atomic] and [asl-2.0] are separate repositories.
     
Loading...