This commit is contained in:
2024-02-24 04:04:33 +01:00
parent b02c654119
commit 16fa928aaa

View File

@@ -21,11 +21,17 @@ It is well-tested with PHP 7.1
To get PHP 7.1 you can use the packages provided in the AUR! To get PHP 7.1 you can use the packages provided in the AUR!
To access the AUR you can use a AUR helper such as yay To access the AUR you can use a AUR helper such as ![yay](https://github.com/Jguer/yay)
https://github.com/Jguer/yay Before you start to install these packages be warned, you will need to compile those, so it is definetly advised to make the following changes to your `/etc/makepkg.conf`
`yay -S php71 php71-{cli,ctype,curl,fileinfo,fpm,gd,iconv,mysql,opcache,pdo,phar,tokenizer,zip,json,mbstring,dom} composer mariadb nginx ffmpeg imagemagick npm vim sudo` Change `MAKEFLAGS=-jx` to `MAKEFLAGS=-j16` (if you have 16 cores for example)
Change `BUILDENV=(…check…)` to `BUILDENV=(…!check…)` (ignore the dots, just add the `!` to check so you don't waste more time than neccessary.
Finally:
`yay -S --noconfirm php71 php71-{cli,ctype,curl,fileinfo,fpm,gd,iconv,mysql,opcache,pdo,phar,tokenizer,zip,json,mbstring,dom} composer mariadb nginx ffmpeg imagemagick npm vim sudo`
You need to downgrade composer with `sudo composer self-update --2.2` You need to downgrade composer with `sudo composer self-update --2.2`