1

Topic: Downgrade PHP Version on Ubuntu Server

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

Hi, anyone can help me to fix my problem?
i need to downgrade my php version after iredmail installer. I have a web application that are still using PHP version =<7.x.
while the iredmail installer are install PHP version 7.x. so, i couldn't load my web application. just blank at all.

I've tried to downgrade the version of PHP there by way of a re-install the PHP package, but i got a new problem.
After i do that all, roundcube was gone. What's wrong?

I hope anyone can help me to fix my problem sad

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Downgrade PHP Version on Ubuntu Server

Which Linux/BSD distribution and release version are you running?

3

Re: Downgrade PHP Version on Ubuntu Server

ZhangHuangbin wrote:

Which Linux/BSD distribution and release version are you running?

I have almost the same question.

I'm on ubuntu 16.04 LTS. with iRedMail-0.9.7 installed on php 7.0.22.
I'd like to downgrade my php to 5.6. Is it save and compatible with iRedMail?

Do you have any spesific instruction to do that?

Thanks.

4

Re: Downgrade PHP Version on Ubuntu Server

sicenul wrote:

I'm on ubuntu 16.04 LTS. with iRedMail-0.9.7 installed on php 7.0.22.
I'd like to downgrade my php to 5.6. Is it save and compatible with iRedMail?

Ubuntu 16.04 ships PHP7, how do you downgrade it?

5

Re: Downgrade PHP Version on Ubuntu Server

ZhangHuangbin wrote:
sicenul wrote:

I'm on ubuntu 16.04 LTS. with iRedMail-0.9.7 installed on php 7.0.22.
I'd like to downgrade my php to 5.6. Is it save and compatible with iRedMail?

Ubuntu 16.04 ships PHP7, how do you downgrade it?

by add repo ppa:ondrej/php and then disable php7 and enable php 5.6

6

Re: Downgrade PHP Version on Ubuntu Server

I don't understand, why downgrade to php-5.x?