Spiga

‘ Computing ’ category archive

OS X 10.6 (Snow Leopard) – using MAMP/PECL to install PHP extensions

May 19, 10 by Andrew Vayanis

Need help installing PHP extensions for OS X 10.6 (Snow Leopard) using MAMP and the included pecl binary? Well, you have come to the right place. If you have tried this on its own, you will notice that none of the extensions pecl builds will work with MAMP. This is because MAMP is compiled as a 32-bit binary whereas pecl tries to build 64-bit PHP extensions.

To get pecl working properly, make sure you have Xcode installed on you machine. Next, you will need to get a copy of MAMP’s source and prepare it using 32-bit compile flags. You can download the MAMP source from the MAMP download page. Running the .dmg should extract the source. After extracting the source run the following:
Read the rest of this entry →

Ext3 Data Recovery

July 06, 07 by Andrew Vayanis

I recently found myself in a tough situation when I accidentally typed rm * <dir_name>/ as opposed to rm <dir_name>/* , deleting the current project I was working on. Having instantly realized my mistake, I quickly unmounted my drive and powered down the machine I was working on. As I frantically searched the net for some way to undo what I had just done, it seemed as though my month’s hard work was slipping further and further down the drain. Almost every post and response I found seemed to point towards the horrible truth that I might have to rebuild my entire project from scratch. This, of course, was not a suitable solution.
Read the rest of this entry →

Ubuntu/Linux – moving on up

May 16, 07 by Andrew Vayanis

UbuntuAbout two months ago, I decided it was time to revisit Linux in general after sitting down and reading through some of the new features offered by XGL with Compiz or Beryl. I installed Ubuntu 6.10 on a spare laptop late in march upgrading to 7.04 shortly after that, and I have been using it as one of my primary workstations since. In case some of you may not know, I recently found out myself, the decimal number following the Ubuntu version, denotes the month it was released: 7.04 refers to version 7 released in April. Linux has definitely come a long way since I last used it in 2004, at least in terms of being a feasible desktop operating system for the masses.
Read the rest of this entry →