I installed a test VirtualBox (VM) with ubuntu 16.,04 and installed webmin as a basic vanilla install. I then purchased the PRO version of VirtualMin and ran through all the setup config settings.

When I go to the install scripts menu and install eGroupWare, it says I am running php7 and it needs php5.

So I created a new VM with ubuntu 14.04 and still the same error. Inside ubuntu 14.04 I removed php 7 and installed php5, restarted the VM and tried to run the install script for eGroupWare.... Now have multiple errors regarding things like php5-gd, php5-imap etc... so I ran:

apt-get install php5-gd apt-get install php5-imap php5enmod imap

I still cannot get eGroupWare to install.

What am I doing wrong?

Regards

James

Status: 
Active

Comments

Howdy -- sorry that you're having problems installing eGroupware!

You're correct that PHP 5 isn't available on Ubuntu 16.04.

On Ubuntu 14.04, you should have access to both, though it would default to PHP 7 for any given domain.

What you could try doing, is go into Server Configuration -> PHP Versions for this particular domain.

There, you can change the PHP version that the domain is using.

If you change that to PHP 5, does that allow you to install eGroupWare?

Ok thank you so much for your reply, I did what you said using the following:

I made sure that I installed php 5.6 on my ubuntu 16.04 server using the following:

sudo a2dismod proxy_fcgi proxy sudo add-apt-repository ppa:ondrej/php sudo apt-get update

sudo apt-get install php7.0 php5.6 php5.6-mysql php-gettext php5.6-mbstring php-mbstring php7.0-mbstring php-xdebug libapache2-mod-php5.6 libapache2-mod-php7.0 sudo service apache2 restart

For php in web apps

sudo a2dismod php7.0 && sudo a2enmod php5.6 && sudo service apache2 restart

For php-cli in the command line

sudo ln -sfn /usr/bin/php5.6 /etc/alternatives/php

I then deleted the Virtual Server in virtualmin and restarted the server. I then did a php version check:

root@hosting:/home/sadmin# php -v

PHP 5.6.32-1+ubuntu16.04.1+deb.sury.org+1 (cli) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethans

I then created a new virtual server and changed the PHP version to 5.6 in the Server Configuration > PHP Versions and then tried to install eGroupWare, and still get the following error:

This script cannot be installed, as this virtual server does not meet its requirements : eGroupware does not support PHP version 7 yet

Not sure what else to check, any ideas?

Regards

James

Make sure you have PHP version 5.6 selected at Server Configuration -> PHP Versions.

Yes I made sure I made the change "Server Configuration -> PHP Versions" to PHP version 5.6 but still get the following error:

This script cannot be installed, as this virtual server does not meet its requirements : eGroupware does not support PHP version 7 yet

This is a vanila install of ubuntu and no other websites/software installed, only webmin and virtualmin.

Regards

James

Which Virtualmin version are you running there? Because I took a look at the eGroupware installer, and it no longer has any checks that would prevent PHP 7 from being used.