• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

PHP Upgrade Deleted Plesk

7racecar7

New Pleskian
Hello,

1and1 sent me this how to on upgrading my php that ende up deleting plesk, is there any way to restore what was deleted by removing php? 1and1 tells me I need to reimage my server, a task I would like to avoid.

Below is what they had me do, and when I called in they said they were not responsible that it delete plesk, unreal.

Thank you for any help

This article describes how to upgrade to PHP 5.4 or PHP 5.5 on a CentOS 5 or CentOS 6 server.
  1. First, detect if any PHP packages are installed:
    # yum list installed | grep phpIf packages are installed remove them, for example:
    # yum remove php.x86_64 php-cli.x86_64 php-common.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mysql.x86_64 php-pdo.x86_64
  2. Add PHP 5.4 packages to yum using this command for CentOS 5.x
    # rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpmOr, for CentOS 6.x:
    # rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
    Now, you can check if the new PHP (5.4: php54w or 5.5: php55w) packages are available:
    # yum list available | grep phpOr, version specific search:
    # yum list available | grep php54
  3. Next, install the new PHP 5.4 or 5.5 packages, for example when installing PHP 5.4 packages I used:
    # yum install php54w.x86_64 php54w-cli.x86_64 php54w-common.x86_64 php54w-gd.x86_64 php54w-ldap.x86_64 php54w-mbstring.x86_64 php54w-mcrypt.x86_64 php54w-mysql.x86_64 php54w-pdo.x86_64
    PHP should now be upgraded to the new version, you can verify with the command:
    # php -v
    PHP 5.4.17 (cli) (built: Jul 23 2013 00:02:04)
    Copyright (c) 1997-2013 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
  4. Finally, restart the Web server:# service httpd restart
 
The problem with those steps was with the bit of REMOVE. It's the remove that deleted Plesk + any other services / applications that are hooked to PHP.
Of-course the only option you have is to install Plesk afresh with the auto-installer.
Code:
/usr/local/psa/admin/sbin/autoinstaller
 
Well that worked, Thank you!. Now I just need to figure out a way to get my php upgraded properly, I use joomla and new requirements need 5.3.10 and I have 5.3.3 any solutions for getting this done properly?
 
Seems I have plesk 12
OSCentOS 6.3 (Final)
Plesk version12.0.18 Update #34,

yet still PHP 5.3.3

1and1 tells me: All of our dedicated Linux platforms have PHP 5.3 if you image it with Plesk.
 
Back
Top