Blogging Tip: Send Yourself Blogpost Anniversary Reminders
The post Blogging Tip: Send Yourself Blogpost Anniversary Reminders appeared first on ma.ttias.be. This is something I've tried out for the last 2 weeks, and it seems to be working. This won't work for...
View ArticleDrupal EngineHack Detection Website
The post Drupal EngineHack Detection Website appeared first on ma.ttias.be. A while ago, I found several Drupal websites that have been compromised by the same sneaky malware. Since then I've...
View ArticleHHVM Performance Lockdown: Is HHVM Reaching Its Limit?
The post HHVM Performance Lockdown: Is HHVM Reaching Its Limit? appeared first on ma.ttias.be. The latest HHVM blogpost is all about getting performance gains from HHVM in real-life situations. With a...
View ArticleChrome 44 Sending HTTPs Header By Mistake, Breaking (Some) Web Applications
The post Chrome 44 Sending HTTPs Header By Mistake, Breaking (Some) Web Applications appeared first on ma.ttias.be. Update #1: it's less worse than it looked, see details below. Update #2: chrome got...
View ArticleWhy We’re Still Seeing PHP 5.3 In The Wild (Or: PHP Versions, A History)
The post Why We’re Still Seeing PHP 5.3 In The Wild (Or: PHP Versions, A History) appeared first on ma.ttias.be. WordPress offers an API that can list the PHP versions used in the wild. It shows some...
View ArticleHow To Clear PHP’s Opcache
The post How To Clear PHP’s Opcache appeared first on ma.ttias.be. PHP can be configured to store precompiled bytecode in shared memory. It avoids loading and parsing of PHP scripts on every request....
View ArticlePHP’s Memcached sessions: Failed to write session data (memcached) for Magento
The post PHP’s Memcached sessions: Failed to write session data (memcached) for Magento appeared first on ma.ttias.be. A couple of days ago I was debugging a particularly interesting problem with PHP's...
View ArticlePHP Session Locking: How To Prevent Sessions Blocking in PHP requests
The post PHP Session Locking: How To Prevent Sessions Blocking in PHP requests appeared first on ma.ttias.be. What I've found when talking about PHP session locking is that half my conversations...
View ArticleDrush PEAR channel: Error getting channel info from pear.drush.org
The post Drush PEAR channel: Error getting channel info from pear.drush.org appeared first on ma.ttias.be. If you're running a Linux server and attempt to use pecl or pear when having an older version...
View ArticlePHP Composer installation fails: file could not be downloaded:...
The post PHP Composer installation fails: file could not be downloaded: allow_url_fopen must be enabled appeared first on ma.ttias.be. If you have composer installed (the package manager for PHP), you...
View ArticlePHP pear.php.net is using a unsupported protocol – This should never happen.
The post PHP pear.php.net is using a unsupported protocol – This should never happen. appeared first on ma.ttias.be. What an annoying and useless error. Here's how to fix it, but there isn't much to...
View ArticlePHP-FPM: failed to ptrace(PEEKDATA) pid 123: Input/output error (5)
The post PHP-FPM: failed to ptrace(PEEKDATA) pid 123: Input/output error (5) appeared first on ma.ttias.be. If you're running PHP-FPM you can see these kind of errors in your PHP-FPM logs. $ tail -f...
View ArticleSlides: HTTP/2 for PHP developers
The post Slides: HTTP/2 for PHP developers appeared first on ma.ttias.be. Last weekend I had the pleasure of speaking in the PHP & Friends room at FOSDEM, Brussels. The slides for my talk "HTTP/2...
View ArticleDrupal’s itok parameters explained and a Varnish workaround for different...
The post Drupal’s itok parameters explained and a Varnish workaround for different backends appeared first on ma.ttias.be. Ever since the Drupal 7.20 update, a new system was introduced to allow the...
View ArticlePHP Warning: Zend OPcache can’t be temporary enabled
The post PHP Warning: Zend OPcache can’t be temporary enabled appeared first on ma.ttias.be. I recently ran into this problem on a PHP server and I figure I'd share the solution. The logs were being...
View ArticleLaravel: The only supported ciphers are AES-128-CBC and AES-256-CBC with the...
The post Laravel: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths appeared first on ma.ttias.be. I just started working on a new Laravel project (it's been a...
View ArticleMitigating PHP’s long standing issue with OPCache leaking sensitive data
The post Mitigating PHP’s long standing issue with OPCache leaking sensitive data appeared first on ma.ttias.be. A very old security vulnerability has been fixed in PHP regarding the way it handles its...
View ArticleLog all queries in a Laravel CLI command
The post Log all queries in a Laravel CLI command appeared first on ma.ttias.be. For most web-based Laravel projects, you can use the excellent laravel-debugbar package to have an in-browser overview...
View ArticleWordPress on PHP 7.1
The post WordPress on PHP 7.1 appeared first on ma.ttias.be. Since I care about performance, features and security, I decided to upgrade my webservers' PHP version from 5.6 to the latest PHP 7.1.2. I...
View ArticleRelease Notes Driven Development (RNDD)
The post Release Notes Driven Development (RNDD) appeared first on ma.ttias.be. I've been enjoying coding a lot again lately, working on small little side projects like DNS Spy or open source tools...
View Article