Update PHP on a 1&1 Cloud Server With Plesk

Table of Contents

Introduction

For any 1&1 Cloud Server with Plesk, applications like PHP should always be upgraded and managed through the Plesk interface. Follow the instructions in this tutorial to learn how to install and run PHP on a Plesk server.

Requirements

  • A 1&1 Cloud Server with Plesk (any operating system). The server must be created with the Standard installation. The Minimal installation does not include PHP.

This tutorial uses the Power User view. You can change the Plesk view by clicking Change View at the bottom of the column on the left.

Firewall Access

If you have a firewall, you will need to allow access to port 8447.

For more information about using a firewall on a 1&1 Cloud Server, consult our documentation on the topic.

Check the PHP Version

To check which version of PHP is installed on the server, go to Tools and Settings.

PHP on Plesk: Tools and Settings

Select Plesk > Update and Upgrade Settings.

PHP on Plesk: Tools and Settings

Go to the All Packages tab.

PHP on Plesk: All Packages

Enter "php" in the search field and click to search the list of packages.

PHP on Plesk: Search for PHP

Check the version for the PHP "base" package. The description will be "PHP scripting language for creating dynamic web sites."

PHP on Plesk: PHP version

In this example, the server is running PHP version 5.4.16.

Update PHP

To upgrade PHP, go to Tools and Settings.

PHP on Plesk: Tools and Settings

Select Plesk > Updates and Upgrades.

PHP on Plesk: Tools and Settings

Select Add/Remove Components.

PHP on Plesk: Add/Remove Components

Click to expand the + Web Hosting menu.

PHP on Plesk: Web Hosting

Click to expand the + PHP interpreter versions menu.

PHP on Plesk: PHP interpreter versions

Choose the PHP version you wish to install. For this example we will install PHP 5.5.

PHP on Plesk: PHP interpreter versions

Click the drop-down menu, then click Install to select this version.

PHP on Plesk: PHP interpreter versions

Now that the version has been added to the install list, scroll down and click Continue.

PHP on Plesk: Continue

Plesk will begin installing the new version. This process can take a while, depending on the size and number of packages to be installed/upgraded.

PHP on Plesk: Install process

When the install process is complete, click OK.

PHP on Plesk: Install process

Comments

Tags: Plesk / PHP