Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

It appears that Lucid Lynx comes with PHP 5.3. Is there a convenient way to downgrade to the latest 5.2x release?

share|improve this question
add comment

3 Answers 3

up vote 3 down vote accepted

Yes. Debian's (and Ubuntu's) apt package management is very powerful. All you need to do is add the sources for the previous releases packages, but tell ubuntu only to use them for PHP (and related dependencies) using a technique called "apt pinning". Instructions are here:

http://ohioloco.ubuntuforums.org/showpost.php?p=9080474&postcount=7

share|improve this answer
add comment

Another option is to install Zend Server Community Edition, which is a free PHP stack, obviously from Zend, that provides PHP 5.2 or 5.3 (choose at installation).

It comes with some nice extra's, such as Optimizer+ (a byte-code cache, similar to APC, that seriously speeds up script execution), Debugger and Profiler (must-haves), a Data Cache API (similar to memcached) and a nice GUI to manage the php.ini file and extensions.

All-in-all a nice package which I use on several servers.

share|improve this answer
    
Agreed - though I do turn off the optimiser, debugger & cache in preference to use APC, Xdebug and Memcached –  Alister Bulman May 11 '10 at 21:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.