Using Ubuntu 8.04 LTS and cannot find APC
apt-get install php-apc
it cannot find the application. After reading another post I tried pecl install apc but that didn't work either. Said PERL wasn't installed (I'm using PEAR so that probably wasn't right either).
Anyway, it sounds like this is a good thing to have. Anyone found success in getting it for Ubuntu 8.04 LTS? I can't go up in Ubunte because my Drupal 6.19 site doesn't like PHP 5.3.
THANKS.
4 Replies
@theatereleven:
I'm trying to install APC and when I do:
apt-get install php-apc
it cannot find the application. After reading another post I tried pecl install apc but that didn't work either. Said PERL wasn't installed (I'm using PEAR so that probably wasn't right either).
Anyway, it sounds like this is a good thing to have. Anyone found success in getting it for Ubuntu 8.04 LTS? I can't go up in Ubunte because my Drupal 6.19 site doesn't like PHP 5.3.
THANKS.
You can't install it with apt-get because it's not available for 8.04
@glg:
You can't install it
FTFY
Try the following:
apt-get install php-pear php5-dev
pecl install apc
Seriously, the Drupal guys should fix PHP 5.3 compatibility… It's been more than a year since PHP 5.3 came out!
If you want rock solid stability and PHP 5.2 with moderately recent packages, try Debian 5.0 "Lenny". Almost everything that works on Ubuntu also works in Debian, and Debian 5.0 is newer than Ubuntu 8.04. (But not too new -- hence PHP 5.2)
Sorry, I was not able to sucessfully run APXS. Possible reasons:
1. perl is not installed
2. Apache was not compiled with DSO support
3. 'apxs' is not in your patch.
I'm okay with using Debian, but that would mean I have to completely setup my Linode again which is a pain. But if Debian 5 would be more stable and run faster at all then I'm game. Would it?
Yes, Drupal should get PHP 5.3 going okay. It is probably individual modules or something like that. Who knows.