March 22nd, 2012 |
admin |
It’s common knowledge that when you’re serving a web application you shouldn’t use a standard Apache install to serve static assets, as it comes with too much overhead. I won’t go into the details of why here, as it’s been covered by many other people better qualified than I. What I can do, however, is tell you how [...]
January 14th, 2012 |
admin |
Nginx (pronounced “engine x”) is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on a Debian Etch server with PHP5 support (through FastCGI) and MySQL support. I do not issue any guarantee that this [...]
January 3rd, 2012 |
admin |
Most webframeworks will provide you with a .htaccess file that contains RewriteRule’s to be used in Apache to create “clean URLs”, or “routes” as it’s called in Zend Framework. The problems is that it doesn’t work for Nginx as it doesn’t read .htaccess file and wouldn’t understand the syntax anyway. So, here’s a basic example [...]
January 3rd, 2012 |
admin |
PHP-FPM configuration First, download the latest version of PHP (5.3.6 as of this writing) and compile it with the –enable-fpm parameter to allow for the php-fpm binary to be built. # cd /usr/local/src/ # wget “http://be.php.net/get/php-5.3.6.tar.gz/from/this/mirror” # tar xzf php-5.3.6.tar.gz # rm php-5.3.6.tar.gz # cd php-5.3.6/ # ./configure –enable-fpm –with-mhash –with-mcrypt –with-mysql –with-mysqli –with-pdo-mysql –with-libdir=lib64 [...]
December 31st, 2011 |
admin |
This is guide howto install nginx, PHP 5.3 and FastCGI webserver with MySQL and/or PostgreSQL and Memcache support on Fedora 12 and Fedora 13, CentOS 5.5, Red Hat (RHEL) 5.5/6. nginx (engine x) is a robust, small and high performance http server, reverse proxy server and also mail proxy server. 1. Add and enable needed [...]
December 30th, 2011 |
admin |
How do I install and configure a ngnix FastCGI php5 HTTP / web server under Red Hat / RHEL / Fedora / CentOS Linux? Nginx (engine x) is an HTTP(S) server, reverse proxy and IMAP/POP3 proxy server written by Igor Sysoev. It is known for its high performance, stability, rich feature set, simple configuration, and [...]
December 29th, 2011 |
admin |
Yesterday, I’ve tried to setup Nginx as a Reverse Proxy for Apache – Worker MPM base webserver. I found that it doesn’t help my server performance as I expected. So, I decided to try to set up Nginx to be a Webserver to see if Nginx can give me a better performance or not. I [...]
December 20th, 2011 |
admin |
This HowTo will describe the setup of an efficient http server and mail server for small or medium configurations (as low as 96 mb). So this config is ideal for a small VPS. You can find a good choice of cheap and performant VPS (XEN) at x|encon, a german hosting company. they provide many scalable [...]
December 20th, 2011 |
admin |
This HowTo describes the implementation of Nginx with php5 support (through FastCGI). The fast-cgi process will be initiated via spawn-fcgi. What for? Nginx is a great replacement of Apache with very low memory footprint and contrary to Lighttpd, doesn’t suffer from memory leak over time. You can then use all the memory left to unleash [...]
December 19th, 2011 |
admin |
When you cannot monitor your server for service availability, it is better to take help of automated monitor and restart utility. Last 4 days I was away from my server as I was enjoying my vacation. During this time due to load my lighttpd webserver died but it was restarted automatically within 2 minutes. I [...]