Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to get the source files for PHP 5.2.4. Where are they? I would think php.net but I could not find them on the web. I tried using Tortoise/SVN to connect to the php.net repository but it required a passowrd given to developers.

Or a more difficult question - How do I install PHP 5.2.4 on Ubuntu Linux 10.10?

Thanks in advance!

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Short answer: http://museum.php.net/php5/php-5.2.4.tar.gz & use dpkg-buildpackage to build a deb & then install the deb. For future note... it wouldn't hurt to look at their releases page for that kind of stuff.

That being said... why the old version? why not use the latest 5.3.6? Why not use the ubuntu repository package (at version 5.3.3)?

share|improve this answer
    
There are quite a few php apps with compatibility issues with php 5.3, but if he is looking to stay in the 5.2 tree, probably ought to go with 5.2.17. –  emgee Apr 11 '11 at 20:35
    
This is a correlation for another system - call it system A. I am matching my system up with their system as close as possible. One issue I had was goto which was not introduced 'til 5.3.0, therfore an algorithm I used form Knuth did not work on System A. Don't know what type of 'nix system they are using. –  user73919 Apr 11 '11 at 21:11
    
I read one googled article suggesting that a LAMP systems should be installed via DSOs (Dynamic Shared Objects) to reduce dependencies, however I was not sure if the article was dated. Is this relevant? –  user73919 Apr 11 '11 at 21:32
    
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 (they did include DSO support for Apache). Both are working great. This is the best site I've found for Linux related tutorials. thegeekstuff.com/2008/07/… –  user73919 Apr 18 '11 at 21:21
add comment

See the PHP Historical Releases page.

share|improve this answer
add comment

Your Answer

 
discard

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