Quantcast
Channel: php – ma.ttias.be
Browsing all 69 articles
Browse latest View live

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 Article


Image may be NSFW.
Clik here to view.

Drupal 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 Article


Image may be NSFW.
Clik here to view.

HHVM 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 Article

Image may be NSFW.
Clik here to view.

Chrome 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 Article

Why 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 Article


How 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 Article

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

Image may be NSFW.
Clik here to view.

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


Drush 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 Article


PHP 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

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

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

Slides: 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 Article


Drupal’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 Article

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 Article


Laravel: 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 Article

Mitigating 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 Article


Log 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 Article

Image may be NSFW.
Clik here to view.

WordPress 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 Article

Release 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
Browsing all 69 articles
Browse latest View live


Latest Images