Starting with Release 9.5 GitLab will allow users to sign commits via GPG. When browsing commits in GitLab you’ll see a badge titled “Verified” next to the commit message in case it is signed and you’ve added your public GPG key to GitLab. This brief tutorial will show you how to configure GitLab and your local environment for automatic signing of commits.
Author: Matthias Wirtz
Apache & PHP system resource usage | mpm_prefork + mod_php vs. mpm_event + php-fpm
As descriped previously there are several different ways to serve dynamic requests via Apache. Today we will compare performance thanks to vegeta, a http load testing tool and library written in Go. To compare performance test duration has been fixed at 30 seconds and rate of requests increases from 10 to 50 requests per second. This suite of tests is running against WordPress 4.8.1 with PHP 7.1.7 [opcache and xdebug enabled] and Apache 2.4.27 [mpm_prefork + mod_php vs. mpm_event + php-fpm].
echo "GET https://example.com/wordpress/" | ./vegeta attack -insecure -duration=30s -rate=10 -keepalive=false | tee results.bin | ./vegeta report
Continue reading Apache & PHP system resource usage | mpm_prefork + mod_php vs. mpm_event + php-fpm
Apache & PHP request handling | mpm_prefork + mod_php vs. mpm_event + php-fpm
Installing support for serving PHP content via Apache is pretty easy. Following official tutorials a simple sudo apt-get install php
in terminal will get you started.
When installing PHP via terminal like shown above APT normally will install libapache2-mod-php* aka mod_php as well. The official Apache Wiki claims this configuration to be the oldest and slowest and does not recommend to use it any further.
Continue reading Apache & PHP request handling | mpm_prefork + mod_php vs. mpm_event + php-fpm
creating beautiful cladogram trees thanks to gnuclad
The commandline tool gnuclad allows creating beautiful cladogram trees and more. Application source code can be downloaded at https://launchpad.net/gnuclad and needs to be compiled before the tool is usable. When using Ubuntu (14.04) download and compilation can be done by running commands shown below in terminal:
Continue reading creating beautiful cladogram trees thanks to gnuclad
Compile PHP7 RC7 from scratch for use with nginx, MySQL and PostgreSQL
As the PHP Community decided to publish another PHP release candidate people are getting more and more excited about the official release of PHP7. The release first was scheduled for 12th November but has been shifted to 26th November if no new critical Bugs are found in the newly released RC7.
As the benefits of PHP7 are huge I decided to compile the latest version of PHP7 by hand and install on my Ubuntu 14.04 based development server.
Continue reading Compile PHP7 RC7 from scratch for use with nginx, MySQL and PostgreSQL