ScaleScaleScaleScale

Tips / Nginx

Archive for posts tagged Nginx

How to install LEMP on Ubuntu 14.04

We all know what LAMP is, right? It means Linux, Apache, MySQL and PHP. It was the traditional stack where most developers built their apps for the past decade. However, on this tutorial we will replace the traditional MySQL server with a cool replacement called MariaDB, and Apache with the all mighty Nginx. On this […] Read more

How to install HHVM + Nginx on Ubuntu 14.04 LTS

HHVM is a virtual machine created by Facebook engineers, it was built to support high traffic from PHP requests for the facebook requirements. It’s used ot execute PHP and Hack apps. The main difference between HHVM PHP and other PHP servers is the fact that HHVM compiles PHP into machine code for faster processing. The […] Read more

Nginx configuration for OsCommerce

OsCommerce is a very popular software used to build e-commerce stores. This free shopping cart is available in many languages and has a large community of users that have built more than 7000 plugins/addons to extend the basic features of OsCommerce. With OsCommerce you can setup your own online store, create, edit and delete products, […] Read more

How to Install Core Development Tools on CentOS / RHEL

Sometimes you need to use c/c++┬ácompilers and other developers tools and you find that those binaries are not present on your CentOS box. The best way to solve almost all your developer needs is to install a group of packages that covers most popular development tools. Luckily, CentOS and RHEL Linux include a quick way […] Read more

php5-fpm.sock failed (13: Permission denied) error

I recently upgraded some PHP packages on an Cloud VPS server and since that I noticed some errors on the hosted websites. The first thing I noticed was a 502 Gateway timeout error. And after reviewing the logs I found this: [crit] 2963#0: *138 connect() to unix:/tmp/php5-fpm.sock failed (13: Permission denied) while connecting to upstream […] Read more