1 (edited by trio1234 2018-10-02 06:37:26)

Topic: (Solved )Latest iRedmail instalation giveme Error Php 7.2 ?

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- 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?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====



When i go to install iRedmail in my VPS ( Digital Ocean ) whit Php7.2 repository  giveme this error :S
This is the configure i used  for install:

sudo apt install ca-certificates apt-transport-https 
wget -q [url]https://packages.sury.org/php/apt.gpg[/url] -O- | sudo apt-key add -
echo "deb [url]https://packages.sury.org/php/[/url] stretch main" | sudo tee /etc/apt/sources.list.d/php.list

The instalation is on PhP7.2
How can fix this?
Thx

[ INFO ] Configure Nginx web server.
Can't open /etc/php/7.0/fpm/pool.d/www.conf: No such file or directory.
Can't open /etc/php/7.0/fpm/pool.d/www.conf: No such file or directory.
Can't open /etc/php/7.0/fpm/pool.d/www.conf: No such file or directory.
Can't open /etc/php/7.0/fpm/pool.d/www.conf: No such file or directory.
Can't open /etc/php/7.0/fpm/pool.d/www.conf: No such file or directory.
Can't open /etc/php/7.0/fpm/pool.d/www.conf: No such file or directory.
Can't open /etc/php/7.0/fpm/pool.d/www.conf: No such file or directory.
Can't open /etc/php/7.0/fpm/pool.d/www.conf: No such file or directory.
[ INFO ] Configure PHP.
Can't open /etc/php/7.0/fpm/php.ini: No such file or directory.
Can't open /etc/php/7.0/fpm/php.ini: No such file or directory.
Can't open /etc/php/7.0/fpm/php.ini: No such file or directory.
Can't open /etc/php/7.0/fpm/php.ini: No such file or directory.
Can't open /etc/php/7.0/fpm/php.ini: No such file or directory.
Can't open /etc/php/7.0/fpm/php.ini: No such file or directory.
Can't open /etc/php/7.0/fpm/php.ini: No such file or directory.
Can't open /etc/php/7.0/fpm/php.ini: No such file or directory.
Can't open /etc/php/7.0/fpm/php.ini: No such file or directory.
Can't open /etc/php/7.0/fpm/php.ini: No such file or directory.
grep: /etc/php/7.0/fpm/php.ini: No such file or directory
Can't open /etc/php/7.0/fpm/php.ini: No such file or directory.
[ INFO ] Configure MariaDB database server.
[ INFO ] Setup daily cron job to backup SQL databases with /var/vmail/backup/backup_mysql.sh
[ INFO ] Configure Postfix (MTA).
[ INFO ] Configure Dovecot (POP3/IMAP/Managesieve/LMTP/LDA).
[ INFO ] Configure mlmmj (mailing list manager).

----

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

2

Re: (Solved )Latest iRedmail instalation giveme Error Php 7.2 ?

iRedMail installs PHP from official apt repo by default, and it ships php-7.0.

Two ways you can use PHP 7.2 in this case, choose either one:

- Don't use third-party apt repo and just let iRedMail installs PHP 7.0. After iRedMail installation, you upgrade PHP manually.
- Open file "iRedMail-0.9.8/conf/php" BEFORE iRedMail installation, search variable 'PHP_VERSION=' and replace its value by a correct version number. save your change and start iRedMail installation.

3

Re: (Solved )Latest iRedmail instalation giveme Error Php 7.2 ?

ZhangHuangbin wrote:

- Don't use third-party apt repo and just let iRedMail installs PHP 7.0. After iRedMail installation, you upgrade PHP manually.
- Open file "iRedMail-0.9.8/conf/php" BEFORE iRedMail installation, search variable 'PHP_VERSION=' and replace its value by a correct version number. save your change and start iRedMail installation.

Thx Alot