Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top