asides, tech

I’m running Ubuntu 16.04 along with PHP7.0 and was running into this error when trying to use Apache Event MPM:

Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.

I found a lot of people suggesting to move from the Apache Event MPM over to the Apache Prefork MPM, but prefork is too slow under load in my configuration.

After some searching, I found this post by Tim Jones pointed me to the PPA maintained by Ondrej Sury that fixed the problem in PHP7 for me. Here are the specific steps I used:

sudo apt-add-repository -y ppa:ondrej/php sudo apt-get update sudo apt-get install libapache2-mod-fastcgi php7.0-fpm apache2

Those updates fixed the error and let me run the Apache Event MPM per my settings documented in this post.

PHP7.0 and Apache Event MPM


Trick Work

“What a vista opens before us at the very mention of trick-work! There is hardly a single fantastic idea which cannot be given existence upon the screen. The masterpieces of the magicians and wizards form the simplest problems for the cameraman. Trickery in one form or another is possibly the greatest single factor in the success of the modern film.”

You would be excused for thinking this was written in response to this years amazing visual effects bake-offs hosted by the Academy in which the 10 selected films wowed the audience with the most spectacular effects exhibited to date–all of which demonstrated near technical perfection. Rather, this quote is from The Handbook of Motion Picture Photography by Herbert C. McKay A.R.P.S.,published in 1927. Continue reading


Ask who

Working at large companies requires involvement with lots of people, across separate departments, divisions and business units. A lot of the time, blame gets assigned to a “group”, rather than a person. A while ago, I learned from one of my favorite producers to always ask, “Who?”. Departments are rarely the problem and a department can never fix your problem — a person has a chance. An example:
“My shot can’t final because the effects department hasn’t given me all my elements.”
Completely reasonable statement, but also not that helpful. Without identifying who, we can’t even start to fix the issue at hand.
“My shot can’t final because Rob hasn’t given me all my effects elements.”
Now we can get somewhere. Does Rob have too many shots on his plate? Has he been out sick? Is he simply incompetent? How can Rob’s priorities be adjusted to get this shot done? Next time someone complains about a group, try asking “Who?” Force them to think about who actually needs to do something different to address the issue, and then work on fixing the problem.