1

I'm trying to setup roundcube in my server with nginx on CentOS.

this tutorial says:

Add the following to the bottom of /etc/nginx/fastcgi_params:

# Roundcube config
fastcgi_keep_conn on;
fastcgi_split_path_info       ^(.+\.php)(.*)$;
fastcgi_param PATH_INFO       $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED    $document_root$fastcgi_path_info;

But I'm getting this error trying to restart nginx service

unknown directive "fastcgi_keep_conn" in /etc/nginx/fastcgi_params:26

I googled it and this answer says:

seems that nginx was built without fastcgi support

But I can't figure out how to make nginx supports fastcgi

Anyone can tell me how?

3

1 Answer 1

1

The documentation states:

This directive appeared in version 1.1.4.

With version 1.0.15, you won't be able to use it.

You can either upgrade nginx, or omit the directive.

2
  • you're right. tanx. Does my old nginx configurations get affected if I upgrade the nginx?
    – Ghasem
    Jan 29, 2015 at 16:30
  • this is the web server, it must be always up to date, backup your config dir in case
    – ADM
    Jan 29, 2015 at 18:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .