Posts filed under “mac”

iCal 502 error when syncing with Yahoo! Calendar

In the last few days, my iCal has been giving me the following error message when trying to access my Yahoo! Calendar via CalDAV: The request for account “Yahoo! Calendar” failed. The server responded with “502″ to operation CalDAVAccountRefreshQueueableOperation. Yahoo! have acknowledged this is a problem on their side: We are aware of a Calendar [...]

Steve Jobs, 1955 – 2011

For me, it wasn’t the iPod, iPhone or iPad but the Mac that was Steve Jobs’ greatest success. After buying an indigo iMac in 2000, it reignited my passion for computing and I never looked back. The Mac made computing pleasurable, and for that I will be eternally grateful to Steve’s vision and passion. A [...]

Install mcrypt PHP extension on Mac OS X Lion

If you have a need to install the mcrypt extension for PHP, for example if you need to use phpMyAdmin, then these instructions are for you. Thankfully, it is becoming simpler to install PHP extensions than with previous versions of OS X. Xcode The Xcode package installs the necessary versions of tools like autoconf which [...]

Mac OS X Lion PHP upgrade – php.ini and Suhosin

If you have upgraded from Snow Leopard to the new OS X Lion, you will notice PHP has also been upgraded – from 5.2 to 5.3. A couple of points that I noticed post-install. Firstly, my existing /etc/php.ini file was moved to /etc/php.ini-5.2-previous. Restoring this was trivial: sudo cp /etc/php.ini-5.2-previous /etc/php.ini However, I noticed that [...]

Install memcached PHP extension on OS X Snow Leopard

memcached is a very useful memory object caching system, which can be used to increase the performance of your dynamic scripts by caching database calls. This guide will explain how to install the memcached system, including the PHP extension, on Mac OS X 10.6. Xcode The Xcode package installs the necessary versions of tools like [...]

Fix PHP timezone warnings in OS X Snow Leopard

The standard Mac install of PHP has always been somewhat quirky, and 10.6 is no exception. One of the most obvious issues occurs when attempting to use date/time functions. PHP 5.3 requires that the date.timezone setting is available. Without this, you will receive a warning similar to the following: Warning: getdate() [function.getdate]: It is not [...]

mcrypt support for PHP on 64 bit Mac OS X 10.5

Please note: The article below refers to installing mcrypt on Mac OS X 10.5. If you have 10.6 Snow Leopard, please see my updated guide: Install mcrypt PHP extension on OS X Snow Leopard Adding additional functionality to the standard Apple-supplied PHP on Mac OS X 10.5 is a little tricky if you are running [...]

Shared memory fix for PostgreSQL Mac installation

EnterpriseDB have kindly created a one-click installer for PostgreSQL, but unfortunately it doesn’t work out-of-the-box, at least not on my MacBook Pro. The problem is down to the amount of shared memory that is configured in OS X; by default it is 4Mb, and PostgreSQL requires 32Mb: The error message suggests looking at the README [...]

Installing Subversion 1.5 on Mac OS X

My current project at Yahoo! is using a Subversion repository for version control, as opposed to the usual CVS (thankfully). Unfortunately, it turns out that the svn client installed on Mac OS X Leopard up to and including 10.5.6, is 1.4 whereas the “best” release is 1.5. It’s very simple to get the newer 1.5 [...]

GoboLinux proves that AmigaOS was ahead of its time

GoboLinux is described as “an alternative Linux distribution which redefines the entire filesystem hierarchy”. Not particularly snappy, but the concept behind it is very clean and simple: there is no need for package management, because every program resides in its own directory. This is a great concept because it means you don’t get libraries scattered [...]