Recent articles
- 2012-08-11 How to fix "readv() failed (104: Connection reset by peer)" error in Nginx
"Connection reset by peer" error in Nginx: [error] readv() failed (104: Connection reset by peer) while reading upstream, client: x.x.x.x, server: host.tld, request: "POST /script.php, ... may occur because the following PHP parameters can cause the PHP process to end unexpectedly: max_input_time... Read more
- 2012-08-09 How to fix "upstream timed out (110: Connection timed out) while reading" error in Nginx and PHP-FPM
"Upstream timed out (110: Connection timed out) while reading upstream" error may occur when it takes more than 60 seconds for PHP-FPM backend to respond. [error] upstream timed out (110: Connection timed out) while reading upstream, client: x.x.x.x, server: howtounix.info, request: "GET /script.ph... Read more
- 2012-08-09 How to fix upstream timed out (110: Connection timed out) error in Nginx
When you come across "Upstream timed out (110: Connection timed out)" error in your Nginx log: [error] upstream timed out (110: Connection timed out) while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: howtounix.info, request: "GET / HTTP/1.1", upstream: "http://127.0.0.... Read more
- 2012-08-03 How to fix "500 OOPS: cannot change directory:/home/someuser" error
Probably you have SELinux (Security Enhanced Linux) enabled by default in your system. There are two ways to fix this problem. The first one is to disable SELinux, and the second one is to configure SELinux properly. Disabling SELinux To disable SELinux open its config file in an editor, for examp... Read more
- 2012-07-31 How to install and configure Nginx, PHP-FPM and APC on Debian
Update packages: apt-get update Install all components: apt-get install nginx php-fpm mysql-server php5-gd php5-mysql php5-apc Configuring Nginx This is our Nginx configuration file: # Redirect from www.howtounix.info to howtounix.info server { server_name www.howtounix.info; rewrite (... Read more