@tpreissler repo is optional stuff who doesn't want to build manually :)
Search Criteria
Package Base Details: php73
Package Actions
Git Clone URL: | https://aur.archlinux.org/php73.git (read-only, click to copy) |
---|---|
Submitter: | matth |
Maintainer: | matth (el_aur) |
Last Packager: | el_aur |
Votes: | 11 |
Popularity: | 0.005456 |
First Submitted: | 2019-12-24 17:08 (UTC) |
Last Updated: | 2023-11-23 15:30 (UTC) |
Packages (62)
- php73
- php73-cli
- php73-cgi
- php73-fpm
- php73-embed
- php73-apache
- php73-litespeed
- php73-pear
- php73-pecl
- php73-phpdbg
- php73-xml
- php73-xsl
- php73-xmlreader
- php73-xmlwriter
- php73-wddx
- php73-dom
- php73-simplexml
- php73-pdo
- php73-mysql
- php73-phar
- php73-pcntl
- php73-posix
- php73-shmop
- php73-sockets
- php73-sysvmsg
- php73-sysvsem
- php73-sysvshm
- php73-tokenizer
- php73-dba
- php73-pgsql
- php73-odbc
- php73-firebird
- php73-interbase
- php73-dblib
- php73-sqlite
- php73-gd
- php73-exif
- php73-tidy
- php73-iconv
- php73-xmlrpc
- php73-bcmath
- php73-gmp
- php73-zip
- php73-bz2
- php73-json
- php73-fileinfo
- php73-ctype
- php73-recode
- php73-mbstring
- php73-pspell
- php73-enchant
- php73-intl
- php73-calendar
- php73-gettext
- php73-soap
- php73-ftp
- php73-curl
- php73-snmp
- php73-ldap
- php73-imap
- php73-sodium
- php73-opcache
el_aur commented on 2022-02-03 20:43 (UTC)
tpreissler commented on 2022-02-02 09:29 (UTC)
Sorry, I am not sure why there is a separate repository now required.
In my case, my original Arch package for "composer" has a dependency on "php". If that repository is built from the same PKGBUILD, then they won't work for me either way.
I had added a "provides=php" and recompiled, then I was able to upgrade them just fine and my composer is happy, too.
el_aur commented on 2022-02-02 09:14 (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):
[home_el_archphp_Arch]
Server = https://download.opensuse.org/repositories/home:/el:/archphp/Arch/$arch
Then run the following as root
key=$(curl -fsSL https://download.opensuse.org/repositories/home:el:archphp/Arch/$(uname -m)/home_el_archphp_Arch.key)
fingerprint=$(gpg --quiet --with-colons --import-options show-only --import --fingerprint <<< "${key}" | awk -F: '$1 == "fpr" { print $10 }')
pacman-key --init
pacman-key --add - <<< "${key}"
pacman-key --lsign-key "${fingerprint}"
Refresh packages database
pacman -Syy
Now search for php packages you need:
pacman -Ss php73
Install with pacman -S
packages you need or all PHP 7.3 packages with:
sudo pacman -S $(pacman -Ssq | grep '^php73')
tpreissler commented on 2022-02-02 09:02 (UTC)
@el_aur: I am using
extra/composer 2.2.5-1 [installed]
el_aur commented on 2022-02-01 15:50 (UTC)
@tpreissler which exactly composer package are you using?
tpreissler commented on 2022-02-01 09:33 (UTC)
Thank you, el_aur.
el_aur commented on 2022-02-01 08:43 (UTC)
Updated build. Disabled failing test and sendmail check
tpreissler commented on 2022-01-31 09:47 (UTC) (edited on 2022-01-31 09:48 (UTC) by tpreissler)
Sorry for the spam:
Adding
provides=('php')
just before depends=(
or in a similar place at the top of the PKGBUILD fixes the below "php" dependency I had and upgrading works like a breeze.
tpreissler commented on 2022-01-31 09:27 (UTC)
Not sure what I am not getting here:
▶ sudo pacman -U php73-7.3.33-6-x86_64.pkg.tar.xz php73-fpm-7.3.33-6-x86_64.pkg.tar.xz php73-cli-7.3.33-6-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing php73 (7.3.33-6) breaks dependency 'php' required by composer
I have installed
local/php73 7.3.33-1
A general-purpose scripting language that is especially suited to web development
local/php73-fpm 7.3.33-1
FastCGI Process Manager for PHP
Seems to me this AUR package doesn't provide a "php" dependency. Seems like I got to upgrade to PHP 7.4 anyway - I have a dependency to another server (and OS) running a patched PHP 7.3.
PHP 7.3 is EOL: https://www.php.net/supported-versions.php. I guess that should encourage me to move to a supported version.
tpreissler commented on 2022-01-31 09:10 (UTC)
@dklymenk I have managed to build it now. I changed line 658 in PKGBUILD from
sapi/cli/php -n -r 'echo ini_get("sendmail_path");' | grep -q '/usr/bin/sendmail'
to
sapi/cli/php -n -r 'echo ini_get("sendmail_path");' | egrep -q '^(/usr/bin|/sbin|/bin)/sendmail.*'
And it builds cleanly for my Postfix system.
I agree, I do not understand either why it requires this check for correct sendmail configuration, after all, we're only building the package. I cannot find any reference to FS#47600 anywhere, as the comment just before says.
@el_aur Can you incorporate the above please? I am not a maintainer and getting commit access these days is rather tedious - I have tried on another package some weeks back and didn't get anywhere/or contributor doc isn't up2date anymore.
Pinned Comments
el_aur commented on 2022-02-02 09:14 (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.3 packages with:el_aur commented on 2022-01-27 12:08 (UTC) (edited on 2022-01-27 15:18 (UTC) by el_aur)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php73
is installed withphp73-cli
subpackage,php73
doesn't include it anymore!!!PEAR and PECL are available as
php73-pear
andphp73-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php73
package anymore.No more extensions in php.ini itself!
Separate INI files for each extension are placed in
/etc/php73/conf.d
They are loaded in correct order according to priority