Submitted by jhorrocks on Sat, 11/25/2017 - 03:58
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
Submitted by andreychek on Sat, 11/25/2017 - 19:43 Comment #1
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?
Submitted by jhorrocks on Sat, 11/25/2017 - 21:25 Comment #2
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 appssudo a2dismod php7.0 && sudo a2enmod php5.6 && sudo service apache2 restart
For php-cli in the command linesudo 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
Submitted by JamieCameron on Sun, 11/26/2017 - 15:36 Comment #3
Make sure you have PHP version 5.6 selected at Server Configuration -> PHP Versions.
Submitted by jhorrocks on Sun, 11/26/2017 - 20:25 Comment #4
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
Hi James,
which egroupware-version are you trying to install?
See also here: https://help.egroupware.org/t/egroupware-17-1-release-release-notes-chan...
If it's an egroupware problem, you can ask it better in the EGroupware-forum. Or I'm completely wrong here?...
Greetings
Stefan
EGroupware Community Manager
www: www.egroupware.org
Forum: help.egroupware.org
Submitted by JamieCameron on Tue, 12/05/2017 - 22:58 Comment #6
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.