Package Base Details: php71

Git Clone URL: (read-only, click to copy)
Keywords: 7.1 php
Submitter: Synthead
Maintainer: wget
Last Packager: wget
Votes: 10
Popularity: 0.000000
First Submitted: 2018-03-26 18:04
Last Updated: 2019-11-03 19:03

Pinned Comments

wget commented on 2019-02-11 11:49

This package makes use of GPG keys for integrity verification. Here are the PGP keys you need to import (if you trust them):

$ gpg --recv-keys A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 1729F83938DA44E27BA0F4D3DBDB397470D12172

Receiving GPG keys might fail with the following error message: $ gpg: keyserver receive failed: Connection refused. If this happens, just check your DNS or use other ones.

Latest Comments

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

keoma commented on 2020-02-10 01:45

@kde35 maybe it's too late, but I had the same problem and could fix using a workaround: copying the entire folder /usr/include/freetype2/ to its parent.

# cp -r /usr/include/freetype2/* /usr/include

@wget, do you have a more elegant solution for this? That would be great.

wget commented on 2019-09-15 17:39

@ruskiyos: You need apache, not as a dependency, but as a make dependency. This is completely different, while the first is a hard requirement, the second is just a requirement to build the final application, here php. As you can see, if I'm not relying on apache, the SAPI CGI module cannot be build:

Configuring SAPI modules
checking for Apache 2.0 handler-module support via DSO through APXS... 

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of apxs follows:
./configure: line 6167: apxs: command not found
configure: error: Aborting
==> ERROR: A failure occurred in build().
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/wget/build

ruskiyos commented on 2019-09-13 19:39

Out of curiosity, why is apache a required dependency for this package?

wget commented on 2019-08-20 15:45

Package updated to 7.1.31

wget commented on 2019-04-28 23:10

Package updated to 7.1.28. @matth Thanks a lot. I corrected the package by integrating your comments :) @kde35 Sorry, but I cannot reproduce from my side. The package built and all tests passed flawlessly on my Arch Linux based computer. :-/

kde35 commented on 2019-04-23 17:14

This doesn't compile, I get aur/php71/src/php-7.1.16/ext/gd/gd.c:77:12: fatal error: ft2build.h: No such file or directory # include <ft2build.h> ^~~~~~~~~~~~ compilation terminated. make: *** [Makefile:1060: ext/gd/gd.lo] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

matth commented on 2019-03-07 21:24

Two minor things that make this conflict with running with php70-fpm

php-fpm.patch uses /run/php70-fpm/php-fpm.sock instead of /run/php71-fpm/php-fpm.sock

php-fpm.tmpfiles uses /run/php70-fpm instead of /run/php71-fpm

botzko commented on 2019-02-24 20:02

Hi @Renfield,

As I can see the check() method is simple, so you can just modify it to put some outputs (echo "X") and rebuild. This way you will be able to find out exactly where it's failing. As I can see it can fail checking the sendmail_path or failing running the php tests. Also you should be able to execute these tests by yourself to see their output.

Having php 7.2 should not be a problem.

Kind regards.

Renfield commented on 2019-02-23 00:58

I just tried to build this package and got this result:

Build complete. Don't forget to run 'make test'.

==> Starting check()... ==> ERROR: A failure occurred in check(). Aborting...

Not very useful. I wonder if it is due to having PHP72 intalled already.

botzko commented on 2019-02-12 09:57

Hi @wget,

First of all thank you for your work.

Just to let you know that the default listener in /etc/php71/php-fpm.d/www.conf is /run/php70-fpm/php-fpm.sock. This could cause issue if someone has installed php70 and php71

P.S. I need to remove --with-freetype-dir=/usr \ to be able to compile the package because it can't fine one .h file.

Thank you for you work.