PHP 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 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 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 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 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 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 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 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 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 ArticleMySQL 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 Article