Topic: z-push install
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- 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.
====
I try to install z-push and have one error please tell me were I m wrong?
2024/11/22 18:25:43 [error] 2796#2796: *10 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function parse_ini_file() in /usr/local/lib/z-push/lib/core/zpush.php:283
Stack trace:
#0 /usr/local/lib/z-push/index.php(45): ZPush::CheckConfig()
#1 {main}
thrown in /usr/local/lib/z-push/lib/core/zpush.php on line 283" while reading response header from upstream, client: 192.168.2.37, server: _, request: "GET /Microsoft-Server-ActiveSync HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "mx.orenadvocat.ru"
This is my nginx tmpl
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param REQUEST_URI $1;
fastcgi_param PHP_FLAG "magic_quotes_gpc=off \n register_globals=off \n magic_quotes_runtime=off \n short_open_tag=on";
fastcgi_param PHP_VALUE "post_max_size=20M \n upload_max_filesize=20M \n max_execution_time=3660";
fastcgi_param HTTP_PROXY ""; # Mitigate https://httpoxy.org/ vulnerabilities
fastcgi_read_timeout 3660; # Z-Push Ping might run 3600s, but to be safe
# Z-Push (Microsoft Exchange ActiveSync)
location /Microsoft-Server-ActiveSync {
include /etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/local/lib/z-push/index.php;
include /etc/nginx/templates/fastcgi_php.tmpl;
client_max_body_size 128M;
}
location ~* ^/autodiscover/autodiscover.xml$ {
include /etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/local/lib/z-push/autodiscover/autodiscover.php;
include /etc/nginx/templates/fastcgi_php.tmpl;
}
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.