Install Sentora in Ubuntu 14.04 with PHP Version 7.1

Reading Time: < 1 minutes

Sentora is a free to download and use web hosting control panel developed for Linux, UNIX, and BSD based servers or computers. The Sentora software can turn a domestic or commercial server into a fully fledged, easy to use and manage web hosting server.

If you wish to view the docs page for Sentora, please see the link below.

To start with, I assume you have a minimal install of your Ubuntu 14.01. If you have not yet, please see the pre-requirements below:

  • We recommend a minimal distribution installation.
  • There can be no other server management panel installed prior to installing Sentora.
  • There can be no other web services (Examples: Nginx, MySQL, Apache, PHP, FTP Server, Mail Server, etc.) installed prior to installing Sentora.

If you are ready, run the command below using root credential.

# bash <(curl -L -Ss

Once completed. Ensure to copy all the password Sentora provided, then restart your server.

By default, Sentora has PHP version is 5.5.9-1ubuntu4.27, so let us try to upgrade to version 7.1 instead. To do so, please run these commands below.

Make sure everything is up to date

sudo apt-get update && sudo apt-get upgrade

Add the PPA:

sudo add-apt-repository ppa:ondrej/php

Run the following if add-apt-repository isn’t found. This will install it via the python-software-properties package:

sudo apt-get install python-software-properties

Run an update so the packages appear:

sudo apt-get update

Install PHP 7.1:

sudo apt-get install -y php7.1 php7.1-mcrypt php7.1-mbstring php7.1-curl php7.1-cli php7.1-mysql php7.1-gd php7.1-intl php7.1-xsl php7.1-zip libapache2-mod-php7.1

Run these commands to finalize your changes.

sudo a2dismod php5
sudo a2enmod php7.1
sudo service apache2 restart

From here, you should have a working Sentora Panel with PHP Version


Was this post helpful?

This Post Has 3 Comments

  1. MrDansken

    Unable to install php 7 because you get an error message that the package cannot be found

    1. Kurt Obando

      Hello MrDansken,

      PHP 7 is not available for Ubuntu Trusty in the standard Ubuntu repositories (2016-01-02).

      You could use the PPA ppa:ondrej/php

      sudo apt-add-repository ppa:ondrej/php
      sudo apt-get update
      sudo apt-get install php7.0

  2. Heri

    How to update php 7.4 in Sentora in Ubuntu ??

Leave a Reply