1

Topic: Cant Find PHP

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
iRedMail-1.6.2
Debian 11
LDAP
NGINX


Good Morning,

At the end of the installation I am having this error, something in the installation script is not capturing the php version to play in the path, see that below there are two bars "//" , in the middle I would have to enter the php version, someone already went through it?

********************************************************************
* Start iRedMail Configurations
********************************************************************
[ INFO ] Generate self-signed SSL cert (4096 bits, expire in 10 years).
[ INFO ] Generate Diffie Hellman Group with openssl, please wait.
[ INFO ] Create required system accounts.
[ INFO ] Configure LDAP server: OpenLDAP.
[ INFO ] Setup daily cron job to backup LDAP data with /var/vmail/backup/backup_openldap.sh
[ 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 Nginx web server.
Can't open /etc/php//fpm/php-fpm.conf: No such file or directory.
Can't open /etc/php//fpm/php-fpm.conf: No such file or directory.
Can't open /etc/php//fpm/php-fpm.conf: No such file or directory.
Can't open /etc/php//fpm/php-fpm.conf: No such file or directory.
Can't open /etc/php//fpm/php-fpm.conf: No such file or directory.
Can't open /etc/php//fpm/php-fpm.conf: No such file or directory.
Can't open /etc/php//fpm/php-fpm.conf: No such file or directory.
Can't open /etc/php//fpm/php-fpm.conf: No such file or directory.
[ INFO ] Configure PHP.
Can't open /etc/php//fpm/php.ini: No such file or directory.
Can't open /etc/php//fpm/php.ini: No such file or directory.
Can't open /etc/php//fpm/php.ini: No such file or directory.
Can't open /etc/php//fpm/php.ini: No such file or directory.
Can't open /etc/php//fpm/php.ini: No such file or directory.
Can't open /etc/php//fpm/php.ini: No such file or directory.
Can't open /etc/php//fpm/php.ini: No such file or directory.
Can't open /etc/php//fpm/php.ini: No such file or directory.
Can't open /etc/php//fpm/php.ini: No such file or directory.
Can't open /etc/php//fpm/php.ini: No such file or directory.
grep: /etc/php//fpm/php.ini: No such file or directory
Can't open /etc/php//fpm/php.ini: No such file or directory.
[ INFO ] Configure mlmmj (mailing list manager).
[ INFO ] Configure ClamAV (anti-virus toolkit).
[ INFO ] Configure Amavisd-new (interface between MTA and content checkers).
[ INFO ] Configure SpamAssassin (content-based spam filter).
[ INFO ] Configure iRedAPD (postfix policy daemon).
[ INFO ] Configure iRedAdmin (official web-based admin panel).
[ INFO ] Configure Roundcube webmail.
[ INFO ] Configure SOGo Groupware (Webmail, Calendar, Address Book, ActiveSync).
[ INFO ] Configure Fail2ban (authentication failure monitor).
[ INFO ] Configure netdata (system and application monitor).

*************************************************************************
* iRedMail-1.6.2 installation and configuration complete.
*************************************************************************

----

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

2

Re: Cant Find PHP

Please show me full content of file /etc/os-release. Seems you're not running Debian 11.

3

Re: Cant Find PHP

You were really right, I cloned a vm that was with debian10, now I did the whole process in debian11 and it installed successfully, but I have ok access only to:
SOGo
netdata
iRedAdmin

When I access Roundcube it returns the error:
502 Bad Gateway
nginx

do you know what it could be?

4

Re: Cant Find PHP

log for nginx

2022/12/27 17:22:32 [error] 8758#8758: *5 upstream sent unsupported FastCGI protocol version: 83 while reading response header from upstream, client: xxxxx, server: _, request: "GET /mail/ HTTP/2.0", upstream: "fastcgi://127.0.0.1:9999", host: "xxxxx"

5

Re: Cant Find PHP

I discovered the problem, I was using port 9999 on the ssh service, for some reason it conflicts with round cube