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

Installing SOAP (for PHP) without breaking Plesk?

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by ArmenR, May 14, 2011.

  1. ArmenR

    ArmenR Guest

    0
     
    Currently administering a system, and am having a rather difficult time gathering up what would be the most correct/proper and LEAST risky way to go about figuring this out.

    Information gathered:

    ----> Plesk version: 9.3.0 CentOS 5 93091230.07
    ----> OS Version: CentOS release 5.4 (Final) (32-bit)
    ----> PHP Version: PHP 5.2.13 (cli) (built: Mar 2 2010 15:56:41)


    I need to hear from the Plesk experts here how they believe I should install the PHP Module "SOAP" on this server. I was thinking "yum install php-soap", however this requires that my entire PHP environment - as well as MySQL packages - be upgraded. I'm afraid to upgrade all of that on Plesk Version 9.3.0, because I've learned from painful trail-and-error that Plesk breaks when even the most minute component of a software environment is not to its liking.

    Any and all help or guidance in this matter would be greatly appreciated.

    These forums, by the way, are absolutely fantastic. I hope that I can contribute back as I learn more and more here.

    Cheers!
     
  2. CatalinS

    CatalinS Basic Pleskian

    20
    40%
    Joined:
    Jan 21, 2010
    Messages:
    33
    Likes Received:
    0
    Hi

    Installing it via yum won't be a problem. Unfortunately I didn't find a php-soap version 5.2.13 in the centos repos because it's quite old.

    Before you proceed to install it via yum and you have the atomic repo just add in /etc/yum.conf :

    exclude=php*5.3*

    Do a yum install php-soap and php will be upgraded to version 5.2.17. The php scripts should work on this version too as most of the php upgrades were done to fix bugs.

    If mysql will also be updated just run the following commands :

    mysql_fix_privilege_tables --user=admin --password=`cat /etc/psa/.psa.shadow`

    mysqlcheck --check-upgrade --all-databases --auto-repair --optimize -uadmin -p`cat /etc/psa/.psa.shadow`
     
  3. ArmenR

    ArmenR Guest

    0
     
    Thank you SO much for this! This worked like a charm!! Because I was not upgrading PHP to 5.3.x, yum did not require that MySQL be updated as well -- so I didn't have to run the SQL commands for privileges/grants or for checks, however I'll save those in case sh*t hits the fan.

    I will document and remember this. I'll also pass the knowledge on.

    How were you able to determine or decide which version of PHP to permit/install with Plesk 9.3??
     
  4. jason m

    jason m Guest

    0
     
    Same issue, different software package - SOAP install

    Hi all

    Im having the same issue but with different software configuration
    ----> Plesk version: 8.6.0
    ----> OS Version: CentOS release 5.2 (Final)
    ----> PHP Version: PHP 5.2.6 (built: May 2 2008 16:08:20)

    Any thoughts is upgrading the plesk first 10.x or rebuild the php stack?

    Help!!!!!!

    thx
    jason
     
  5. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    I would update the OS version to 5.5 first, and then do PSA and then do PHP - php will be very easy but I would stay away from the Plesk 10.x builds for a little bit until they get more mature. Every install experience I have had with 10.x has gone very poorly (and there have been over a dozen).

    The MySQL commands listed above are only needed when you are upgrading from 4.x to 5.x - since you are most likely on 5.x already since your already using php5 you dont need to do that. Upgrading MySQL in place is also no problem for plesk - php, mysql and apache are the most resiliant parts of Plesk and they almost never break it unless the install doesnt work at all.

    I should also note that 5.2.x is no longer maintained and has been EOL'ed, so I would strongly suggest you start using 5.3. The only reason to stay on 5.2 would be if you need support for zend optimizer as that is depricated in 5.3 - otherwise upgrade upgrade upgrade....
     
  6. jason m

    jason m Guest

    0
     
    Thank you. that is probably the least problematic. We need the Zend optimizer as we are using Magento on this host.

    I will post up what happens shortly

    Thanks for the quick and concise reply!

    jason
     
  7. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    Hi, just checking in - how did your upgrade go?
    Do you need any further help?
     
  8. jason m

    jason m Guest

    0
     
    thanks for checking in.. We havent upgraded yet.. Its a magento ecommerce site and a bit difficult to take
    off line and not cause any issues with the ecoomerce.
    What are your suggestions for this. Do you think i can just install the SOAP without upgrading the OS?
    or is that required to do (and first)? thank you again for following up!
    jason
     
  9. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    Yeah, you can just install the soap module anytime you want and then do a graceful apache restart.

    YOu can do php -v from the command line to ensure its working properly, and also do
    php -i phpinfo | grep -i 'soap' to see if any of the soap modules are loaded.
     
Loading...