Package Details: php74-apache 7.4.33-5

Git Clone URL: https://aur.archlinux.org/php74.git (read-only, click to copy)
Package Base: php74
Description: Apache SAPI for php74
Upstream URL: http://www.php.net
Licenses: PHP
Submitter: tompear
Maintainer: el_aur
Last Packager: el_aur
Votes: 10
Popularity: 0.008445
First Submitted: 2021-01-31 11:48 (UTC)
Last Updated: 2024-03-27 14:57 (UTC)

Pinned Comments

el_aur commented on 2022-02-02 08:43 (UTC) (edited on 2022-02-02 18:11 (UTC) by el_aur)

Created binary repository on build.opensuse.org

https://build.opensuse.org/project/show/home:el:archphp

Import PGP key first:

curl -s https://download.opensuse.org/repositories/home:/el:/archphp/Arch/x86_64/home_el_archphp_Arch.key | sudo pacman-key -a /dev/stdin

Append to /etc/pacman.conf:

[home_el_archphp_Arch]
SigLevel = Required TrustAll
Server = https://download.opensuse.org/repositories/home:/el:/archphp/Arch/x86_64/

Refresh packages database

pacman -Sy

Now search for php packages you need:

pacman -Ss php74

Install with pacman -S packages you need or all PHP 8.1 packages with:

sudo pacman -S $(pacman -Ssq | grep '^php74')

el_aur commented on 2022-01-27 12:06 (UTC) (edited on 2022-02-01 21:33 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

  1. Console version /usr/bin/php74 is installed with php74-cli subpackage, php74 doesn't include it anymore!!!

  2. PEAR and PECL are available as php74-pear and php74-pecl subpackages

  3. All shared modules are respresented as stand-alone subpackages and are not included with php74 package anymore.

  4. No more extensions in php.ini itself! Separate INI files for each extension are placed in /etc/php74/conf.d They are loaded in correct order according to priority

  5. Modules: mysqlnd, mysqli and pdo_mysql are moved to single package php74-mysql

  6. php74-xsl requires php74-xml and php74-dom to be installed

  7. php74-enchant build with dependencies: libvoikko, hspell, hunspell, nuspell, aspell

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 10 Next › Last »

el_aur commented on 2022-09-29 23:03 (UTC) (edited on 2022-09-29 23:03 (UTC) by el_aur)

@system7

It's some OBS bug unfortunately :( sometimes it helps with /etc/pacman.conf when I set XferCommand to use curl instead of default or wget:

XferCommand = /usr/bin/curl -L -C - -f -o %o %u

system7 commented on 2022-07-10 05:54 (UTC)

If I would update any php74 package I got this:

$ sudo pacman -S php74
Please touch the device.
resolving dependencies...
looking for conflicting packages...

Packages (1) php74-7.4.27-7

Total Download Size:   0.74 MiB
Total Installed Size:  5.02 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 php74-7.4.27-7-x86_64.pkg.tar.zst failed to download
error: failed retrieving file 'php74-7.4.27-7-x86_64.pkg.tar.zst' from download.opensuse.org : Maximum file size exceeded
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.

system7 commented on 2022-06-07 19:59 (UTC)

@tompear Thank you! It works.

tompear commented on 2022-06-07 19:37 (UTC)

You have to rebuild php74-intl, new version of library is the reason.

system7 commented on 2022-06-07 19:28 (UTC) (edited on 2022-06-07 19:31 (UTC) by system7)

Did anybody meet this problem?

$ php74 -i | grep intl                                                                                                                                                                                                                                      
PHP Warning:  PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/lib/php74/modules/intl.so (libicuio.so.70: cannot open shared object file: No such file or directory), /usr/lib/php74/modules/intl.so.so (/usr/lib/php74/modules/intl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
/etc/php74/conf.d/20-intl.ini,

The php74-intl and icu has been installed. I do not have idea what is the problem w/ the package.

$ fd libicuio.so /                                                                                                                                                                                                                                          
/usr/lib32/libicuio.so.71.1
/usr/lib32/libicuio.so.71
/usr/lib32/libicuio.so
/usr/lib/libicuio.so
/usr/lib/libicuio.so.71
/usr/lib/libicuio.so.71.1

$ ls -la /usr/lib/php74/modules/intl.so                                                                                                                                                                                                                     
-rwxr-xr-x 1 root root 455K Apr 15 17:26 /usr/lib/php74/modules/intl.so

Edit: Ehh... May I figured it out: the new version of libicuio? (71) :)

archn00b commented on 2022-04-09 17:14 (UTC) (edited on 2022-05-13 22:13 (UTC) by archn00b)

Has the signature changed?

error: php74-intl: signature for "home:el OBS Project <home:el@build.opensuse.org>" is invalid

aureolebigben commented on 2022-02-08 08:54 (UTC)

@tompear thank you !

tompear commented on 2022-02-03 14:37 (UTC)

@aureolebigben you have to install php74-cli, its now a separate package.

aureolebigben commented on 2022-02-03 14:26 (UTC)

Where is the php74 executable after install ?

Before, php executable was in /usr/bin. But after update i don't find it anywhere.

Now in /usr/bin i only have php-config74 php-fpm74 phpize74.

el_aur commented on 2022-02-02 08:43 (UTC) (edited on 2022-02-02 18:11 (UTC) by el_aur)

Created binary repository on build.opensuse.org

https://build.opensuse.org/project/show/home:el:archphp

Import PGP key first:

curl -s https://download.opensuse.org/repositories/home:/el:/archphp/Arch/x86_64/home_el_archphp_Arch.key | sudo pacman-key -a /dev/stdin

Append to /etc/pacman.conf:

[home_el_archphp_Arch]
SigLevel = Required TrustAll
Server = https://download.opensuse.org/repositories/home:/el:/archphp/Arch/x86_64/

Refresh packages database

pacman -Sy

Now search for php packages you need:

pacman -Ss php74

Install with pacman -S packages you need or all PHP 8.1 packages with:

sudo pacman -S $(pacman -Ssq | grep '^php74')