How does Nginx compare to Apache? How would I benefit of using Nginx instead of Apache?
It is working on my personal server where I host less than 10 domains. But not on a production server.
Most sites we see that require a dedicated environment where we could stick nginx in are heavy PHP websites. Any idead on when you will have nginx using spawn-fcgi from the LightTPD project to get it serving up PHP? That is what I am interested in.
*Or even PHP-FPM?
.
I'm having another problem, did the installation on 2 servers, one works perfectly fine. In the second I did, the settings are 100% equal, but the "apache status of failed.
What should I look?
I had an issue with the Apache status as well, on a fresh server. Once I created an account though, it worked as it should.
Need help with your server? PM ME!
Blog - http://solidservers.ca
Quality Hosting - http://robohostingsolutions.com
I was hoping that would be the case as well but still no go. Time for me to hit the error logs.
I have it corrected and seems to be working great. I noticed the following files are included:
/etc/nginx/fastcgi.conf
/etc/nginx/fastcgi.conf.default
/etc/nginx/fastcgi_params
/etc/nginx/fastcgi_params.default
have you made any progress with fastcgi. I could integrate it manually but my concern is cPanel integration.
*Also, do you have SMP enabled in this compile?
Last edited by Solokron; 04-11-2010 at 01:14 AM.
.
This worked great on a redhat server ( thanks ) but failed on a centos 64 bit:
Any ideas?Code:Installation Complete -- run /etc/init.d/nginx restart to start nginx [root@host] publicnginx >> /etc/init.d/nginx restart Restarting nginx daemon: nginxcat: /var/run/nginx.pid: No such file or directory kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] not running[warn]: conflicting server name "xx.xx.xx.x" on 0.0.0.0:80, ignored [emerg]: could not build the server_names_hash, you should increase either server_names_hash_max_size: 2048 or server_names_hash_bucket_size: 128 already running.
Its the same script that worked OK on our redhat server, so it should work on the centos. No changes have been made to the script.
ok, I am going to save some of you a lot of headaches when it comes to rewrites with nginx. I spent all day trying out rewrites and trying to figure out why they were not working. Even checked with a heavy nginx user and it seemed to threw him off as well for a bit. So here you go, if you plan on doing any .htm or .html rewrites, remove the damn file types in the location ~* \. area as nginx will completely ignore any rewrite rules if they are immediately proxied in that area.
Last edited by Solokron; 04-13-2010 at 06:53 PM.
.
Just to clarifyAre you saying to remove files types from every clients root directory if their using rewrite rules ?...remove the damn file types in the location ~* \.
Last edited by kernow; 04-14-2010 at 05:32 AM.