Skip to main content

240 posts tagged with "PHP"

View All Tags

Silex running on HHVM

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

First of all I assume you already got HHVM running with nginx. If this is not the case feel free to follow these steps to get everything up and running. To install Silex we will use Composer, so let's install all the needed requirements and Composer itself. As root user run the following commands:

First steps with hhvm (revisited)

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

I recently published a blog post on how to set-up HHVM in a virtual machine. Since the latest HHVM release a few things changed within HHVM and you won't be able to install HHVM that way. This blog post will give you some insights on how to install the current version of HHVM.

Using Composer with Http Basic Auth (2nd try)

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

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.

First steps with hhvm

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 3 min read
Stephan Hochdörfer
Head of IT Business Operations

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.

ConFoo 2014 conference

· One min read
Stephan Hochdörfer
Head of IT Business Operations

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).

PHPBenelux 2014 conference

· One min read
Stephan Hochdörfer
Head of IT Business Operations

Vom 24.01.2014 bis zum 25.01.2014 findet in Antwerpen bereits zum fünften Mal in Folge die phpBenelux conference statt. Ich freue mich wieder einmal als Sprecher dabei sein zu dürfen und habe 2 neue Vorträge im Gepäck: Im Vortrag "The NoSQL Store everyone ignores: PostgreSQL" werde ich aufzeigen dass man durchaus auch mit relationalen Datenbanken schemafrei arbeiten kann. Im zweiten 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.

Sending attachments with ZendMail

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Stephan Hochdörfer
Head of IT Business Operations

I had a hard time figuring out how to properly send attachments with ZendMail. All the hints I found on the internet did not work for me. After an intense debugging session I came up with the following "short" snippet that I`d like to share with you. To display the attachments correctly in your favorite MUA you have to supply the correct mime type for the file you want to attach to the mail message. Use this article here as a source for some in-depth insights how you can detect the mime-type for a file with a decent fallback routine (if needed).