Hand Coded Web Development Tips

View our work

Ubuntu server disk usage

Overtime web servers fill up with "stuff", whether than be application files, uploaded content, backups, log files or OS images. It's important to keep ontop of these to avoid your server crashing or grinding to a halt. These two command are very helpful to review disk usage:

Read more...

16 October 2017

Setup PHP-FPM 5.6 on Ubuntu

The LEMP software stack is a group of software that can be used to serve dynamic web pages and web applications. This is an acronym that describes a Linux operating system, with an Nginx web server. The backend data is stored in MySQL and the dynamic processing is handled by PHP.

Read more...

24 August 2017

PHP Curl error

Earlier this week I came across this PHP error on a Ubuntu server:

PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/curl.so' - /usr/lib/php/20131226/curl.so: undefined symbol: zend_unset_property in Unknown on line 0

After some research, I realised the best fix would be to update PHP CLI:

apt-get install php5.6-cli

Read more...

22 August 2017

Compress images for the web

As images continue to be the largest part of webpage content, it’s very important for website owners to take aggressive control of their image sizes. You need to hit the sweet-spot between website image quality and website image size.

You can usually automate a ‘good enough’ value, but for maximum file size savings, you need to test quality using your own eye.

Read more...

10 July 2017

Compress mp4 video for the web

Compressing video online is essential to improve the speed of your website. We've come across 2 tools that'll help compress mp4 files.

Firstly, HandBrake - a free Mac app. You simply drag your mp4 file onto the interface and select the output file name. There are lots of settings, but you can usually leave these as they are.

Read more...

08 July 2017

Using WordPress and Laravel

WordPress is a world renowned Content Management System (CMS), and is used by over 25% of websites online.

If you're looking to combine WordPress and the Laravel PHP framework, then Corcel may be for you.

Read more...

06 July 2017