WordPress blank screen in PHP 7 with CloudLinux PHP selector

Daniel KoopUncategorized0 Comments

I was testing with WordPress on a Cpanel server with PHP 7 provided by the CloudLinux PHP selector. Unfortunately, I ran in a blank screen of death while installing WordPress (blank screen wp-admin/setup-config.php?step=2). Fortunately, solving this problem is easy. Log in to Cpanel. Select PHP Version. Select the module mysqli. Click save. This resolves the problem. WordPress tries to use mysql_connect … Read More

How to install R1soft on CentOS 7

Daniel KoopUncategorized0 Comments

Unfortunately, R1soft does not support CentOS 7 out-of-the-box. Although they have a solution for this, their installer does not use this yet. Use the following code to install R1soft with support for CentOS 7 on your machine.

.bash_profile for homestead

Daniel KoopHomestead0 Comments

This is just a short blog for Homestead. This is the .bash_profile I use for my homestead environment. It basically adds support for running binaries from .composer/vendor/bin and has an example to automatically cd in the correct folder for your project. This saves you to type cd Code/secondlayer/project_name. I use a second layer to categorise the projects I am working on, as this … Read More

Alternative for WordPress plugin Post Thumbnail Editor

Daniel KoopWordPress0 Comments


I have used the WordPress plugin Post Thumbnail Editor for multiple websites, as this plugin allows you to resize the image manually instead of automatically. Editors can correct the image size without using external tools. Unfortunately, the author of the plugin seems to be inactive and the compatibility problems are stacking such as WPML not playing nice with the plugin. Since … Read More

Homestead won’t update – Vagrant: An error occurred while downloading the remote file

Daniel KoopUncategorized0 Comments

Sometimes I have problems with updating Homestead because the download is interrupted and you get the error “An error occurred while downloading the remote file”. This is the full error I have: homestead update ==> default: Checking for updates to ‘laravel/homestead’ default: Latest installed version: 0.4.0 default: Version constraints: default: Provider: virtualbox ==> default: Updating ‘laravel/homestead’ with provider ‘virtualbox’ from … Read More

How to update the Laravel project

Daniel KoopLaravel0 Comments

Laravel logo

When you create a new Laravel project with composer or the Laravel command line laravel new, there is no git repository installed in the main directory of the project. In some situations you do not require the latest version of the Laravel project, but if you do it is handy to know that you can easily update the Laravel project. … Read More

Optimise Theme x for mobile devices

Daniel KoopWordPress0 Comments

Optimize theme X for mobile devices

You may have noticed that I am using Theme X for my website. Unfortunately, the creators decided to have a more universal design that looks the same on every device instead of a design that really works for every device. So, we have to do the work ourselves but how can we optimise Theme X for mobile devices?

Embed Gists in WordPress without a plugin

Daniel KoopWordPress0 Comments

Make love between the two!

I was looking for a solution where I easily can embed gists in WordPress without requiring an additional plugin. Fortunately, I had found an easy but outdated solution for this. The URL structure of Github only has changed for a little bit, so I have updated the regular expression and the javascript file. How to install the embed Gists in WordPress plugin? … Read More

Git errors on Homestead and Windows

Daniel KoopHomestead0 Comments

Homstead git windows conflict

I like Homestead very much but it is a bit of a hassle to get it running on Windows. Since a colleague did not own a Mac but a Windows computer, I was forced to find a way how you can install Homestead there. But there was a conflict: my colleague updated the git repository via Git bash and not … Read More