You are not logged in.
Hello,
im new to Arch Linux or better, i would like to give it a test. AS i know Arch Linux is a rolling release distribution, the packages are always build against the newest versions of the Software. Mostly this is a really welcomed system. But sometimes not. For instance, i would like to use some Software which is only compatible with PHP 5.x, it will not run with PHP 7.x In my example, i could install PHP 5.x and the needed Software from a custom repository. PHP in Main is still on Version 7.x
Is it possible to upgrade now PHP only from this custom Repository and not automatically from Main? Are there Warnings i must disable or i have to ignore from Main in my case?
Offline
The AUR has the php5x packages. These package conflict the official php package so if you need both it won't work. I guess you can modify php5x's PKGBUILD and rename the directories and binaries so it won't conflict, but your software that you want to run with php5 needs to be aware of the new names.
Offline
Offline
The PHP 5.x in Arch User Repository is named 'php53', while php 7.x from official repos is named simply 'php'. Therefore pacman considers them as different packages and won't update php over php53.
It's possible for developers to make package 'b' replace package 'a', but that's probably not going to happen with php.
Offline
If i understand this correctly, i could install all the needed packages from https://aur.archlinux.org/packages/?K=martimcfly&SeB=m and php53 and get no warnings that i should upgrade to PHP7?
I don't need PHP7.
Last edited by Andesell (2016-10-18 20:00:46)
Offline
If i understand this correctly, i could install all the needed packages from https://aur.archlinux.org/packages/?K=martimcfly&SeB=m and php53 and get no warnings that i should upgrade to PHP7?
It depends what you mean by 'install from' see Arch_User_Repository#Installing_packages
You would still need to rebuild / reinstall the packages as their dependencies are updated.
Offline