문제

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