Skip to content

No Results Found

Oct 25

Disable Apache Modules

The Apache web server operates by using a combination of modules. The modules are used by the Apache core and do not interact with one another, each offering unique functionality. Depending on which OS you are using, there is likely many Apache modules that are enabled by default that you do not need. Disabling this […]

Sep 12

PHP 5.5 with Opcache and APCu

As of PHP 5.5 Zend Opcache is a part of the core PHP distribution. PHP code is an interpreted language and is therefore parsed and compiled into opcode on every request. An Opcache allows the opcode to be stored in shared memory in which subsequent requests will be able to pull from, opposed to having […]

Jun 07

SSH Tunneling

A common web application server architecture is to only allow public access to specific servers. This allows all internal servers to be closed to internet traffic and only accessible from other servers in the network. I outlined this technique in an article for setting up an internal MySQL database server. Often times access is still […]

May 26

Vagrant Puppet VM Clusters

As outlined in previous posts Vagrant is a powerful tool for rapidly setting up development environments. However, after setting up numerous different environments for testing and developing in, some of the server set up tasks become repetitive. Puppet is a software solution for managing numerous servers from a single source. Puppet provisioning is a common […]

Apr 22

Vagrant Virtual Machine Cluster

With virtualization and cloud development taking over the industry there are often situations where systems need to be developed on multiple servers. Instead of having to spin up new instances of servers or make space in the cloud, one can use virtual machines (VMs) to develop locally in a clustered environment. Also, when working with […]

Apr 05

Fedora 20 LAMP Setup

I’ve been on the market for a new laptop for awhile now and after working with a Mac extensively at my job I knew I wanted a Windows/Linux dual boot development environment. Aside from the annoyances of Mac’s OS being really close to Linux but different enough have to learn new tools, Macs are way […]

Feb 03

CentOS 6.4 MySQL VPS Setup

I recently started using Digital Ocean for VPS hosting and have been very satisfied. At first I set up a single VPS droplet to host both web server and databases but then decided to break MySQL off onto its own droplet. Digital Ocean recently added private networking in my region which ensures the droplets will […]

Jan 22

PHP Performance with APC Opcache

PHP is an interpreted language, opposed to a compiled language, meaning that each time a PHP file is requested it must be parsed and interpreted. By using an opcode cacher, such as APC, you are allowing compiled PHP code to be stored in shared memory. Thus when files are requested multiple times they do not […]

Jan 18

Increase Page Load Speed with Apache KeepAlive

The KeepAlive directive for Apache allows a single request to download multiple files. So on a typical page load, the client may need to download HTML, CSS, JS, and images. When KeepAlive is set to “On”, all of these files can be downloaded in a single request. If KeepAlive is set to “Off”, each file […]

Jan 17

Increase Page Load Speed with Apache mod_deflate

Apache’s mod_deflate is an Apache module that will compress output from your server before it is sent to the client. If you have newer version of Apache the mod_deflate module is probably loaded by default, but it may not be turned on. To check if compression is enabled on your site, first verify that the […]

Blog Powered By Wordpress
Next >>>