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.

I have been trying to downgrade the php version from php 5.4 to php 5.3. I tried removing php5, purging php5 and then reinstalling using "apt-get install php5=5.3.6-13ubuntu3.6", but it did not help, I get a message saying "E: Version '5.3.10-1ubuntu3.3' for 'php5' was not found". Is there a way I can install php 5.3.10 in ubuntu 12.04?

I am using amazon ec2 instances,

share|improve this question
add comment

1 Answer

if you get the reply that some version was not found, it probably wasn't in the repository.

try doing apt-cache search php5 to see what versions are available.

Otherwise, if there is no package available, you could add the http://www.dotdeb.org/ repository by doing this: sudo echo "deb http://php53.dotdeb.org stable all" >> /etc/apt/sources.list. Then another apt-get update and then you should have a php5.3 package available.

share|improve this answer
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.