Fixing GD by replacing the version in the bundled PHP package

PHP GD Library

The GD Library in PHP allows developers to output images from code in various formats rather than output HTML mark-up for displaying web pages or snippets. It is a very popular method of creating images used on web forms where the validity of a human user needs to be attained (this method is commonly known as Captcha). However, a bundled PHP distribution might not come with GD enabled and fully functioning such as those used by the “apt-get install php5” command on Ubuntu. Even after “apt-get install php5-gd” is run to fetch and installed the GD Library, PHP might not

Setting up Apache, MYSQL and PHP on Ubuntu Linux (LAMP)

Ubuntu LAMP

This article shows you the commands required to set up an Apache web server on a fresh Ubuntu Linux installation from a Command Line Interface. It goes through the steps to setup PHP and MySQL and link both to the Apache web server. It doesn’t just finish there though. I also cover installing OpenSSL for managing secure certificates, VSFTP for file transfer protocol accounts and the GD PHP image library. These are popular things to do for say running WordPress but not essential to a LAMP (Linux, Apache, MySQL and PHP) setup. The examples use Ubuntu 14.04.4 LTS (Long Term

Upgrading packages on Ubuntu from the command line

PuTTY Ubuntu Login

This short article goes through the commands required to upgrade to the latest trusted distribution of Ubuntu 14.04 Long Term Support (LTS) but the same commands can be used for any Ubuntu upgrade. The following example shows the commands and actions for upgrading all of the packages on Ubuntu to their latest distributed versions rather than just applying updates to currently installed packages. The first thing to do is login using your Command Line Interface (CLI). You will probably login with an account that does not have upgrade privileges. You can either run the command “sudo -i” to switch to

Secure Ubuntu connection via AWS authentication token using CLI and FTP

PuTTY and FileZilla

This is a bit of a specialist article that shows how to do something in specific circumstances rather than try to cover all eventualities but hopefully it will be useful outside of the narrow example for those that need help. In this article I set up a secure connection to a Linux server running Ubuntu 14.04.4 LTS on Amazon Web Services (AWS) with authentication through a token. The connection to the server examples is shown from both a Command Line Interface (CLI) and a File Transfer Protocol (FTP) client. I’m using PuTTY for a CLI and FileZilla for my FTP

What do I need to do to get a company web presence?

Domain Hosting

As the New Year gets underway, I have been contacted quite a few times by people who are interested in domain names, email addresses and websites but they don’t know where to start. Perhaps a lot of people are starting new businesses in 2016 or maybe those running new businesses have realised that they need a web presence to compete regardless of the industry. What is a domain name? Why do I need hosting? What do I need to do to set up a company email address or a website? In this article I cover the minimum you need to