build is failing for me
/e/aur/php73/src/php-7.3.33/main/reentrancy.c: In function ‘php_readdir_r’:
/e/aur/php73/src/php-7.3.33/main/reentrancy.c:125:9: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations]
125 | readdir_r(dirp, entry);
| ^~~~~~~~~
In file included from /e/aur/php73/src/php-7.3.33/Zend/zend_virtual_cwd.h:76,
from /e/aur/php73/src/php-7.3.33/main/php.h:466,
from /e/aur/php73/src/php-7.3.33/main/php_reentrancy.h:22,
from /e/aur/php73/src/php-7.3.33/main/reentrancy.c:26:
/usr/include/dirent.h:185:12: note: declared here
185 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
/e/aur/php73/src/php-7.3.33/main/reentrancy.c:125:9: error: too few arguments to function ‘readdir_r’
125 | readdir_r(dirp, entry);
| ^~~~~~~~~
/usr/include/dirent.h:185:12: note: declared here
185 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
make: *** [Makefile:2434: main/reentrancy.lo] Error 1
==> ERROR: A failure occurred in build().
Aborting...
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