Posts tagged “mac”

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 [...]

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 [...]

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 [...]

EyeTV Hybrid for sale

I’ve just put my Elgato EyeTV Hybrid on eBay since I rarely use it these days… check it out if you fancy a bargain – no reserve EyeTV Hybrid Analog/Digital TV Tuner for Mac on eBay, also TV Cards, Graphics, Video TV Cards, Desktop PC Components, Computing (end time 12-Oct-08 21:02:02 BST)

Useless Mac Applications #2 : Adobe Reader

A classic example of an application that started off performing a simple, useful task (i.e. displaying PDF documents) and has grown to an overly complex, slow, hulking beast of an application. I got scared off by the 251Mb disk space the installer claims that it needs: I’ll stick to Apple’s Preview.app, thanks. Useless Mac Applications [...]

Automatically virus scan your downloads folder

Okay, so there are not really any Mac specific virus threats, but there are tonnes for Windows… and you don’t want to be passing these on to your PC owning friends right? Best be safe… Download and install ClamXav Launch ClamXav application Go into preferences and click the Folder Sentry tab Drag your Downloads folder [...]