Claus Conrad
Claus Conrad

Reputation: 511

Downgrade to PHP 5.4 on Arch Linux

I am running a fully updated Manjaro (Arch Linux derivative) distribution with PHP 5.5.6 installed using pacman.

Some scripts I am forced to develop with are not fully compatible with PHP 5.5 yet.

Is there an easy way to downgrade to PHP 5.4 or do I have to compile it from source?

Upvotes: 2

Views: 3972

Answers (1)

StreakyCobra
StreakyCobra

Reputation: 2001

Yes it's possible to downgrade packages. Short version of possibilities:

  • Look in the pacman cache of your computer if the packages are still present (/var/cache/pacman/pkg)
  • Get old packages from the Arch Rollback Machine
  • Build the old packages from ABS

The procedures are explained in the wiki. The simplest one will certainly be to look in the cache, or eventually ARM if they are not present.

Upvotes: 1

Related Questions