Sessionhandling with hhvm
After trying to get a few application to run on hhvm I came across the following error:
After trying to get a few application to run on hhvm I came across the following error:
As I blogged recently we solved the HTTP Basic Auth problem with Composer / Satis by using expect. I still like the general idea but expect can be a bit tricky to configure. For those of you who are not happy with that solution this one might be a good alternative: As I helped out Manuel Lemos to create an Composer Installer for phpclasses.org packages he pointed out that the new Composer Plugin API might make it easier to extend Composer and offer authentication support. And yes he was right ;) As I had some spare time last weekend I extracted the code handling the authentication logic from his installer and created a separate plugin which can be found on github and packagist.org.
UPDATE (04/2014): Since Facebook decided to remove the webserver functionality from the "official" binaries this howto will not work anymore! Read here how to set things up with the current version of hhvm.
Am Donnerstag den 30.01.2014 trifft sich in Frankfurt die PHP Usergroup Frankfurt. Ich freue mich als Sprecher dabei sein zu dürfen und werde erzählen wie man PostgreSQL als NoSQL Datenbank nutzen kann und warum das sinnvoll sein kann.
A couple of weeks ago we relaunched our new website. In addition to that we decided to relaunch our blog as well. Since we wanted to use Silverstripe as CMS for our main website it made sense to use Silverstripe as a basis for our blog as well. Luckily there exists a blog module for Silverstripe which made it pretty easy to set-up this blog. The migration was no-brainer: Export the existing Wordpress content as XML file and import the XML file into Silverstripe via the wordpressimport module. The documentation of the wordpressimport module said it would be enough to add the following RewriteRule to the .htacess file:
Am Montag den 10.02.2014 findet in Karlsruhe wieder einmal der Webmontag Karlsruhe statt. Ich freue mich als Sprecher dabei sein zu dürfen und berichten wie man PostgreSQL als NoSQL Datenbank nutzen kann und warum das sinnvoll sein kann.
Using Composer in your Vagrant / Puppet setup is as simple as this:
Vom 24.02.2014 bis zum 28.02.2014 findet in Montreal die ConFoo 2014 Konferenz statt. Ich bin dieses Mal wieder dabei und kann zwei neue Vorträge präsentieren: Im Vortrag "The seven deadly sins of Dependency Injection" möchte ich darstellen welche Fehler man bei der Verwendung des Dependency Injection Patterns nicht machen sollte. Der Vortrag "The Setup: Composer, Phing, Vagrant, Jenkins" beleuchtet unsere Arbeitsweise mit den genannten Tools soll aufzeigen wie man mit den Tools arbeiten kann (aber nicht muss).
A couple of days ago my little Linux router died after serving me fine for more than 13 years. Unfortunately, I had not a recent backup at hand so I was in need to get access to the disk. Since I had no "old enough" hardware available, I was looking for a way to convert the physical disk into a Virtualbox image which in the end turned out to be quite easy. All you need to do is to create an image of the physical disk using dd and convert that to a .vdi image file via the VBoxManage tool that is shipped with Virtualbox:
Vom 21.02.2014 bis zum 22.02.2014 findet in London die PHP UK 2014 conference statt. Ich freue mich als Sprecher dabei sein zu können und meinem Vortrag "The seven deadly sins of Dependency Injection" präsentieren zu können.