I heard that nginx is faster and since im on a VPS with low ram i thought id try it out.

I got through this tutorial http://www.howtoforge.com/installing-php-5.3-nginx-and-php-fpm-on-ubuntu-debian

But I now get the following error:

unknown directive "fastcgi_split_path_info" in /etc/nginx/sites-enabled/default:28

Anyone know what might be causing the problem? I cant find any reference to the problem on Google

Also I have heard conflicting things about Nginx vs Apache. Some say use one, some say the other. Im using allsorts such as rewrite rules, proxies etc. Am I setting myself up for a fall by using Nginx?

If I go for apache, does anyone know of anyway to tweak it so that it performs better on a low ram VPS?

Cheers Ke


Because your repository uses an outdated version of nginx.


As the manual states fastcgi_split_path_info requires >= 0.7.31 and your repo most likely ships 0.6.x.

Nginx has such rapid development that most default repos fail. Compile from source or find a repo that keeps it updated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.