PHP APC for Ubuntu Hardy

24 02 2008

As some of you know I use Ubuntu Hardy (alpha) on my MacBook Pro.  Some think I am insane and twisted (and perhaps I am) but I find it much easier to do my day-to-day work on than Mac OSX.

Anyway, the one thing I found very strange about Ubuntu Hardy is that it favors XCache for an opcode cache without packages for eAccelerator or APC.  I personally use APC on all my servers for several reasons:

  1. eAccelerator was segfaulting on our production servers after about a week of usage
  2. At the time of evaluation XCache was still in its infancy (I'm sure its pretty good)
  3. APC is a lot better than it used to be
  4. APC is said to be included in PHP6

Anyway, if you want something done, do it yourself, and using that philosphy I have built a DEB for Ubuntu Hardy for APC which can be found in my downloads section.  It is currently for a 64bit install only but can be rebuilt for i386 and it should even rebuild on Gutsy.  I will try to keep the binary up to date as new versions of PHP are released on Hardy.


Bookmark PHP APC for Ubuntu Hardy  at del.icio.us Digg PHP APC for Ubuntu Hardy

Trackbacks


No Trackbacks

Comments

Display comments as (Linear | Threaded)
14 03 2008
#1 Hans (Reply)

Do you dual-boot with Ubuntu or have you done a clean install. I ask because, just like you, I find myself more comfy doing dev work in linux, but I want to keep OS X for casual use. I gave parallels and virtualbox a go installing ubuntu, but found it renders the whole machine a bit unsatisfyingly sluggish, but on the other hand, I don't quite know how well boot camp works with linux (i'm a mac newbie so i'm still learning) or whether grub works well at all.
14 03 2008
#1.1 LinuxJedi (Reply)

I currently dual boot although I have replaced Ubuntu with OpenSuse 10.3 as it is more stable and supports as much of the hardware as Hardy in its current form (Hardy broke my wifi for which I was not happy).

To dual boot you will need to install a tool called rEFIt which is found at http://refit.sourceforge.net/
I think you do need to install boot camp first, if you are using Tiger then get one of the late Betas of Boot Camp, set your clock back to around August last year and you can install it (you can then set your clock back again).

Linux running native on a mac is very fast as it uses both CPU cores properly without an extra IO abstraction layer that VMWare / Parallels has, but the hardware support is difficult, no distro works 100% out of the box with it yet, be prepared to tinker.

I do suggest you try Ubuntu first as every other distro (including OpenSuse) I have tried so far has had trouble with grub installing (due to their being an EFI partition table as well as the standard DOS type partition table). It is documented and in OpenSuse there is a wiki entry that explains the process to fix the problem.

If you get stuck, give me a shout, or try searching the net as there are a few sites dedicated to setting up a Mac with Linux.

Add Comment


Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA