america, classic car, car-2547044.jpg

Nginx Static File Cache Control

You can boost your site’s performance by letting visitors browsers know it should cache your static files. Nginx can be configured to set the “Expires” and the “max-age“ directive of the “Cache-Control” HTTP response headers for static files (eg. images, style sheets, javascript) it serves up to a date in the future. This allows browsers …

Nginx Static File Cache Control Read More »

airplane, buildings, perspective-1807486.jpg

List installed PHP packages on Ubuntu and Debian

If you have ever found yourself wondering what PHP packages are installed on a Debian or Ubuntu server you can run the following from the command line. dpkg –get-selections [email protected]:~$ dpkg –get-selections | grep phplibapache2-mod-php5 installphp-pear installphp5-cli installphp5-common installphp5-curl installphp5-dev installphp5-gd installphp5-mcrypt installphp5-memcached installphp5-mysql installphp5-xdebug installphpmyadmin install In my example I am piping the output …

List installed PHP packages on Ubuntu and Debian Read More »

monster, virus, black and white-426996.jpg

vsftpd, GnuTLS error -12 and Filezilla

I recently had an issue with a user not being able to log into their FTP account. I have vsftpd set up to use TLS encryption. When using Filezilla to connect to vsftpd with explicit TLS you may see something similar to the following output: Status: Resolving address of www.example.comStatus: Connecting to 127.0.0.1:21…Status: Connection established, …

vsftpd, GnuTLS error -12 and Filezilla Read More »

pipes, ventilation, metal-4161383.jpg

Getting Started With Zend Framework

The Zend Framework library is based around the MVC (Model, View, Controller) and Front Controller design patterns. The Front Controller is the point of entry for all requests that are NOT being served up directly by your web server. Such requests include style sheets, javascript, images and other static files. Zend Framework implements the front …

Getting Started With Zend Framework Read More »

Scroll to Top
foliaceous