Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've looked on php.net and ubuntu.com and can not find the relevant documentation.

When I run sudo apt-get install from the terminal it installs PHP 5.3.3, which I am currently using.

If there are binaries available great, if I have to compile them that is fine, if I need to re-install the OS for compatibility that is fine. I just need a path to get to PHP 5.2.4.

share|improve this question

migrated from stackoverflow.com Mar 31 '11 at 18:09

This question came from our site for professional and enthusiast programmers.

    
So in the title, you actually mean PHP 5.2.4? Currently reads 2.2.4 – Joshua Mar 31 '11 at 18:01
up vote 0 down vote accepted

This link might help you:

http://www.nickveenhof.be/blog/reverting-or-downgrade-php-53-52-ubuntu-lucid-lynx-1004

share|improve this answer
    
Thanks, that is good info. Does not seem like a quick few commands. – user73919 Apr 6 '11 at 18:07
    
The real situation is choosing between binaries or going apt-get. I'm not sure either is a bad method. Compiling binaries could be fun :) – Joshua Apr 6 '11 at 18:15
    
I need a direct method, the link is cool but it installs based upon Ubutnu version (replaces lucid with karmic), I need to install based upon version number. Either the binary or from source. – user73919 Apr 11 '11 at 20:52
    
Found the source files at...php.net/releases/index.php. Found install directions at...thegeekstuff.com/2008/07/…. Need a reference for setting the configuration before running "make" and "make install". – user73919 Apr 13 '11 at 21:48
    
The geekstuff.com has 3 tutorials that explain how to install from source Apache, MySQL, and PHP. Went with the default configurations used in the tutorials b.c. I don't have time to research all the different options. Both are working great. This is the best site I've found for Linux and "superuser" type tutorials. Here it is again... thegeekstuff.com/2008/07/… Thanks for the input. – user73919 Apr 15 '11 at 20:59

PHP 2? or 5?

Try this resource (use google translator, it's in portuguese, still you can clearly see the commands) http://www.vivaolinux.com.br/dica/Instalacao-(downgrade)-PHP-5.2.x-no-Ubuntu-10.04

share|improve this answer

Your Answer

 
discard

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