I second @aexoxea's and @z3ntu's comments regarding provides for the split packages.
For example php70-gd with
provides=("${pkgbase}-gd=$pkgver" "${_pkgbase}-gd=$pkgver")
would make nextcloud-12.x happy (which requires php-gd<7.2)
Git Clone URL: | https://aur.archlinux.org/php70.git (read-only, click to copy) |
---|---|
Package Base: | php70 |
Description: | tidy module for php70 |
Upstream URL: | http://www.php.net |
Licenses: | PHP |
Submitter: | betrixed |
Maintainer: | wget (el_aur) |
Last Packager: | el_aur |
Votes: | 11 |
Popularity: | 0.000000 |
First Submitted: | 2017-02-05 08:12 (UTC) |
Last Updated: | 2024-03-27 15:00 (UTC) |
I second @aexoxea's and @z3ntu's comments regarding provides for the split packages.
For example php70-gd with
provides=("${pkgbase}-gd=$pkgver" "${_pkgbase}-gd=$pkgver")
would make nextcloud-12.x happy (which requires php-gd<7.2)
I also get
php70-apache: /usr/lib/httpd/modules/libphp7.so exists in filesystem
and I would also appreciate proper "provides" for php- packages instead of just php70-
I get conflict with the arch package.
How about changing: install -D -m755 ${srcdir}/build-apache/libs/libphp7.so ${pkgdir}/usr/lib/httpd/modules/libphp7.so to install -D -m755 ${srcdir}/build-apache/libs/libphp7.so ${pkgdir}/usr/lib/httpd/modules/libphp70.so
Thanks!
Pinned Comments
el_aur commented on 2022-02-03 18:46 (UTC) (edited on 2022-02-04 11:29 (UTC) by el_aur)
Created binary repository on build.opensuse.org
https://build.opensuse.org/project/show/home:el:archphp
For Arch Linux, edit /etc/pacman.conf and add the following (note that the order of repositories in pacman.conf is important, since pacman always downloads the first found package):
Then run the following as root
Refresh packages database
Now search for php packages you need:
Install with
pacman -S
packages you need or all PHP 7.0 packages with:el_aur commented on 2022-02-03 18:45 (UTC) (edited on 2023-02-21 12:42 (UTC) by el_aur)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php70
is installed withphp70-cli
subpackage,php70
doesn't include it anymore!!!PEAR and PECL are available as
php70-pear
andphp70-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php70
package anymore.No more extensions in php.ini itself!
Separate INI files for each extension are placed in
/etc/php70/conf.d
They are loaded in correct order according to priority