PDA

View Full Version : [ubuntu] Natty PHP downgrade



rob.lawless
July 11th, 2011, 09:31 PM
The version of PHP installed on my Natty box is as follows :

php -v
PHP 5.3.5-1ubuntu7.2 with Suhosin-Patch (cli) (built: May 2 2011 23:18:30)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

However I require the use of PHP 5.1.6 for a certain environment scenario, the below link shows how to downgrade to PHP 5.2 from 5.3 by switching the lucid with karmic repos & using apt-get update
http://www.nickveenhof.be/blog/reverting-or-downgrade-php-53-52-ubuntu-lucid-lynx-1004

A question to this forum is to go from PHP 5.3 to 5.1, can I apply the same procedure as mentioned in the above link with the Ubuntu repos for PHP 5.1?? & if so which Ubuntu version repos do I need to replace with?


Thanks in advance for your help
Rob

rob.lawless
July 11th, 2011, 11:40 PM
anyone got any ideas on this?
or even suggest a better forum to post to?

Thanks
Rob