MySQL 8 & Laravel: The server requested authentication method unknown to the...
The post MySQL 8 & Laravel: The server requested authentication method unknown to the client appeared first on ma.ttias.be. For local development I use Laravel Valet. Recently, the brew packages...
View ArticleBenchmarking websocket server performance with Artillery
The post Benchmarking websocket server performance with Artillery appeared first on ma.ttias.be. We recently deployed a custom websocket server for Oh Dear! and wanted to test its ability to handle...
View ArticleIncrease the number of open files for jobs managed by supervisord
The post Increase the number of open files for jobs managed by supervisord appeared first on ma.ttias.be. In Linux, a non-privileged user by default can only open 1024 files on a machine. This includes...
View ArticleLaravel Telescope: Data too long for column ‘content’
The post Laravel Telescope: Data too long for column ‘content’ appeared first on ma.ttias.be. For Oh Dear!, we're using Laravel Telescope as a convenient way of tracking/displaying exceptions, runs,...
View ArticleLaravel & MySQL auto-adding “on update current_timestamp()” to timestamp fields
The post Laravel & MySQL auto-adding “on update current_timestamp()” to timestamp fields appeared first on ma.ttias.be. We hit an interesting Laravel "issue" while developing Oh Dear! concerning a...
View ArticleCompile PHP from source: error: utf8_mime2text() has new signature
The post Compile PHP from source: error: utf8_mime2text() has new signature appeared first on ma.ttias.be. It's been a while, but I had to recompile a PHP from source and ran into this problem during...
View ArticleAntwerp WordPress User Group offering public speaking course
The post Antwerp WordPress User Group offering public speaking course appeared first on ma.ttias.be. At the next WordPress Antwerp meetup, there will be a presentation and workshop on how to do public...
View ArticleLaravel Forge + Envoyer + Managed Hosting = Nucleus
The post Laravel Forge + Envoyer + Managed Hosting = Nucleus appeared first on ma.ttias.be. I've been enjoying using Laravel a lot lately, a modern PHP framework that comes with queues, a CLI...
View ArticleLaravel Horizon: requires ext-posix, missing from CentOS
The post Laravel Horizon: requires ext-posix, missing from CentOS appeared first on ma.ttias.be. Here's what I ran into when I tried to install a project that required laravel/horizon via Composer. $...
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 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 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 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 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 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 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 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 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 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 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 Article