You can easily install the mcrypt extension to PHP 5.4 on Mac OS X 10.9 Mavericks Server. Here’s how:
Category: How-To (Page 3 of 7)
You can easily install the PHP SSH2 extension to PHP 5.4 on Mac OS X 10.9 Mavericks Server to support the CDN features of SocialEngine 4. Here’s how:
Dramatically speed speed up sites hosted using Mac OS X 10.9 Mavericks Server (like SocialEngine, Drupal, WordPress, or other PHP/MySQL web site) by adding APC and Memcache.
Here’s how to install APC and memcache on Mac OS X Mavericks server, which runs PHP 5.4:
Because Mavericks server uses PHP 5.4, any extensions you may have compiled for previous versions of Mac OS X (such as memcache, apc, mcrypt) need to be recompiled and reinstalled.
This post assumes you used MacPorts to compile and install the PHP extensions in question. Here’s how to accomplish the task:
On the web, we’re often presented with a list of values that we need to display in a comma-separated manner.
For example, perhaps I would rather display a list of city names like Amsterdam London Paris Berlin as:
Amsterdam, London, Paris, and Berlin.
While we could tackle this with a variety of approaches including PHP or Javascript, we can also easily handle it with CSS.
Continue reading
I recently “obtained” some video files which had 5.1 surround sound encoded as AAC, but AppleTV does not play multichannel audio in AAC format.
While AppleTV can play back stereo or Dolby Pro Logic II in AAC format, it requires multichannel audio be encoded as AC3. None of these “acquired” MP4s have AC3 5.1 6-channel audio!
I could encode the file again, but that takes to much time. Is there a way I can just add or import AC3 multichannel audio to my existing video files?
The short answer is yes.
Apple prevents computers with USB drives from installing Windows from a USB flash drive on certain models. While it works flawlessly on my current gen MacBook Air, installing Windows 7 off a USB key doesn’t work on my iMac.
Luckily, the fix is easy…
When I have weird printing problems, this interface comes in handy: http://localhost:631

Right Click, Open With… has lots of duplicates!
Every once in awhile, Mac OS X seems to lose it’s way with regard to the apps it shows when you right click on a file, and choose “Open With.” For some reason, this is particularly pronounced in Mountain Lion (Apple’s buggiest OS to date).
Here’s how to fix the problem:
I recently worked on a project where we dynamically displayed page content with a single PHP script. But we didn’t want to display the PHP script name, variables and their values in the URL.