PHP

Building a track timing system for a Carrera Go slot car racing track.

Building a track timing system for a Carrera Go slot car racing track.

Intracto, the company that I work for, has been a Gold sponsor of PHPBenelux for a few years now. As a gold sponsor, you’re granted a sponsor booth in the sponsor area of the conference. To attract more attention, most sponsors offer some sort of contest/raffle where conference attendees can win a prize. The theme […]

Is your Symfony/Doctrine import consuming a lot of memory?

If you’ve ever needed to write a mass-dataimport (eg. a periodic product/stock import for a webshop) in a Symfony project and decided to use your Doctrine backed objects/services from a Command object, chances are that you have run into high memory usage issues. php app/console mybundle:products:stock:import You will see the process consume more and more […]

PHP Opcache and symlinks

If you’re using automated deployments on a regular base, chances are that you areĀ using symlinks to limit the amount of downtime to a minimum. This is a proven approach that has worked well for many years. website current -> releases/release-12 releases/release-11 releases/release-12 When time has come to deploy a new release, the release isĀ prepared in […]

From my hand: SoundTouchPhp

So I’ve had the joys of playing around with some Bose SoundTouch 10 at work. These are Sonos-like Wifi speakers that can be controlled over the network. Turns out, these things even have a documented (!) HTTP API, allowing you to control them from your own applications, rather than Bose supplied apps. As this obviously […]

Run multiple versions of PHP using fcgid and suexec

Run multiple versions of PHP using fcgid and suexec

When hosting multiple sites on the same server, you sometimes might just want to be able to run different versions of PHP. Add multiple users to the problem (like in a typical shared hosting environment) and you probably might also want to prevent a user from accessing files of another user. You may also want […]