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.

link|improve this question

67% accept rate
So in the title, you actually mean PHP 5.2.4? Currently reads 2.2.4 – Joshua Mar 31 '11 at 18:01
feedback

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

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

2 Answers

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

link|improve this answer
Thanks, that is good info. Does not seem like a quick few commands. – anonymous user 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. – anonymous user 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". – anonymous user 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. – anonymous user Apr 15 '11 at 20:59
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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