@Zeph Much appreciated, helped with both "php56" and "php74".
Search Criteria
Package Details: php72-apache 7.2.34-15
Package Actions
Git Clone URL: | https://aur.archlinux.org/php72.git (read-only, click to copy) |
---|---|
Package Base: | php72 |
Description: | Apache SAPI for php72 |
Upstream URL: | http://www.php.net |
Keywords: | 7.2 php php7 |
Licenses: | PHP |
Submitter: | el_aur |
Maintainer: | el_aur |
Last Packager: | el_aur |
Votes: | 11 |
Popularity: | 0.000006 |
First Submitted: | 2019-01-31 20:58 (UTC) |
Last Updated: | 2024-03-27 14:58 (UTC) |
Dependencies (62)
- apache (apache-gitAUR)
- argon2 (argon2-gitAUR)
- libedit
- libxcrypt (libxcrypt-gitAUR)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- ncurses (ncurses-gitAUR)
- pcre2 (pcre2-gitAUR)
- php72AUR
- acl (acl-gitAUR) (make)
- apache (apache-gitAUR) (make)
- argon2 (argon2-gitAUR) (make)
- aspell (aspell-gitAUR) (make)
- autoconf (autoconf-gitAUR) (make)
- automake (automake-gitAUR) (make)
- bash (bash-devel-static-gitAUR, bash-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR) (make)
- c-clientAUR (make)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-selinuxAUR, coreutils-hybridAUR) (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-c-aresAUR, curl-gitAUR) (make)
- db5.3 (make)
- e2fsprogs (busybox-coreutilsAUR, e2fsprogs-gitAUR) (make)
- Show 42 more dependencies...
Required by (0)
Sources (20)
- debian-php-7.2.34.patch
- fpm-numeric-uid-gid.patch
- fpm-reload-sighup.patch
- https://php.net/distributions/php-7.2.34.tar.xz
- make-tests.patch
- mysql-socket-php7.1.patch
- openssl-sslv3-consts.patch
- pear-config-patcher.php
- php-apache.conf
- php-enchant-depr.patch
- php-enchant-php5.3.patch
- php-freetype-2.9.1.patch
- php-icu-php5.5.patch
- php-libxml.patch
- php-makefile-patcher.php
- php-phpinfo.patch
- php71-phar-names.patch
- recode-php5.3.patch
- timezonedb-guess.patch
- timezonedb-php7.2.patch
kasugano commented on 2024-06-08 00:59 (UTC)
Zeph commented on 2024-05-30 20:39 (UTC)
@continum4 add -fpermissive flags in build function of PKGBUILD
build() {
export CFLAGS="${CFLAGS} -fPIC"
export CXXFLAGS="${CXXFLAGS} -fPIC"
...
to
build() {
export CFLAGS="${CFLAGS} -fPIC -fpermissive"
export CXXFLAGS="${CXXFLAGS} -fPIC -fpermissive"
...
continum4 commented on 2024-05-14 20:15 (UTC)
When compiling, an error occurs in libxml.c; error: argument 2 of 'xmlSetStructuredErrorFunc' is passed from an incompatible pointer type [-Wincompatible-pointer-types]
1007 | xmlSetStructuredErrorFunc(NULL, php_libxml_structured_error_handler);
| ^~~~
| |
| void ()(void , xmlError ) {aka void ()(void , struct _xmlError )}
The same thing happens with other versions of php: php56, php70, php71, at least those are the ones I tried to install. Any ideas about it?
d3x0r commented on 2023-08-04 04:14 (UTC)
I had to modify /etc/httpd/conf/extra/php72-module.conf
It starts as:
<IfModule dir_module>
<IfModule php_module7>
DirectoryIndex index.php index.html
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
</IfModule>
</IfModule>
and I changed it to
<IfModule dir_module>
<IfModule php_module7>
</IfModule>
</IfModule>
DirectoryIndex index.php index.html
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
which just moves it out of the modules, and then it started working (after trying a bunch of other things) There are other changes that could be made in /etc/httpd/conf/httpd.conf
el_aur commented on 2023-02-21 12:23 (UTC)
Fixed build against dblib. Added c-client to aur. Forced openssl1.1
el_aur commented on 2023-01-16 18:23 (UTC)
@joao.sa yes, have idea. Will prepare patch soon
joao.sa commented on 2023-01-16 08:31 (UTC)
checking for DB4 major version... configure: error: Header contains different version ==> ERROR: A failure occurred in build().
Any idea how to fix?
df8oe commented on 2022-11-05 18:22 (UTC)
building perfectly again. Thanks for doing a great job for all of us!
df8oe commented on 2022-11-05 17:59 (UTC)
Build is in progress ;) ...
el_aur commented on 2022-11-05 17:57 (UTC)
@df8oe just have patched it. please try to build
Pinned Comments
el_aur commented on 2022-02-03 18:56 (UTC) (edited on 2022-02-04 11:28 (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.2 packages with:el_aur commented on 2022-01-27 12:11 (UTC) (edited on 2022-01-27 15:19 (UTC) by el_aur)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php72
is installed withphp72-cli
subpackage,php72
doesn't include it anymore!!!PEAR and PECL are available as
php72-pear
andphp72-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php72
package anymore.No more extensions in php.ini itself!
Separate INI files for each extension are placed in
/etc/php72/conf.d
They are loaded in correct order according to priority