Package Details: php70 7.0.25-1

Git Clone URL: https://aur.archlinux.org/php70.git (read-only)
Package Base: php70
Description: A general-purpose scripting language that is especially suited to web development
Upstream URL: http://www.php.net
Licenses: PHP
Conflicts: php70-ldap
Provides: php=7.0.25
Replaces: php70-ldap
Submitter: betrixed
Maintainer: betrixed
Last Packager: betrixed
Votes: 3
Popularity: 0.276891
First Submitted: 2017-02-05 08:12
Last Updated: 2017-11-10 10:22

Required by (420)

Sources (7)

Latest Comments

aexoxea commented on 2017-09-30 12:26

Hi, I'd like to suggest that the modules with a "provides=("${pkgbase}-xxx=$pkgver")" parameter are changed to "provides=("${_pkgbase}-xxx=$pkgver")".

Using php70-intl as an example (it's not the only one though): It currently provides "php70-intl=7.0.23", whereas with this change it would provide "php-intl=7.0.23", which would be much more useful.

I note the module packages for php55 and php56 are already configured this way (e.g. their intl modules show "php-intl=5.5.38" and "php-intl=5.6.31"). It would be great if the php70 modules could be consistent with that.

Thank you.

francoism90 commented on 2017-09-15 10:10

Could you change this install -D -m644 ${srcdir}/apache.conf ${pkgdir}/etc/httpd/conf/extra/php7_module.conf to install -D -m644 ${srcdir}/apache.conf ${pkgdir}/etc/httpd/conf/extra/php70_module.conf? Now it conflicts with the arch package.

Thanks.

lilmike commented on 2017-09-02 19:20

Looks like the /etc/php70/php-fpm.d/www.conf isn't backed up on package upgrade, but probably should be.
-Michael.

midgard commented on 2017-08-13 13:18

Hi, in PKGBUILD you should quote variables that may contain spaces, in particular ${srcdir}, ${pkgdir} and ${_build}. Otherwise the build may fail.

betrixed commented on 2017-07-25 02:27

I incorporated the corrections suggested earlier. Sorry not checking for them often enough.

This package won't pass PGP check unless the first key in the validpgpkeys array for Anatol Belski <ab@php.net> is added to the local key-ring. See comment near validpgpkeys

This command line works on my setup.

gpg --recv-keys 1A4E8B7277C42E53DBA9C7B9BCAA30EA9C0D5763

I don't know how to make the package auto magically work for everybody, by having the package ensure the key is imported before the validity check.
I think the validpgpkeys get checked before the call to prepare(), and therefore no way I can put key addition in the package.

I also do not know how new pgp keys such as above, get proposed to put in the pacman key-ring, for use of AUR builds by makepkg.

enginefeeder101 commented on 2017-06-24 10:00

There is an error in PKGBUILD line 191. Due to the single quotes the php.ini file is NOT BACKED UP, your configuration will be LOST!

--- PKGBUILD 2017-06-24 11:41:32.769813893 +0200
+++ PKGBUILD 2017-06-24 11:56:25.114753127 +0200
@@ -188,7 +188,7 @@
replaces=('php70-ldap')
conflicts=('php70-ldap')
provides=("${_pkgbase}=$pkgver")
- backup=('etc/${pkgbase}/php.ini')
+ backup=("etc/${pkgbase}/php.ini")

cd ${srcdir}/build
make -j1 INSTALL_ROOT=${pkgdir} install-{modules,cli,build,headers,programs,pharcmd}

aeno commented on 2017-05-16 13:47

PKGBUILD line 271 should read:

install -D -m644 ${srcdir}/php-fpm.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/${pkgbase}-fpm.conf

currently, there's a /../ after the srcDir

rhssk commented on 2017-05-15 15:07

backup=('etc/${pkgbase}/php.ini') (from quick glance this seems like the only problematic line) needs to be enclosed in double quotes instead of single as the pkgbase variable is parsed as plain string.
The unintended result can be seen in pacman -Qii php70
backup line and results in a complete php.ini overwrite.

pipo1000 commented on 2017-05-11 07:37

I have installed the openssl-1.0 package like in the AUR php56 package. However a previous build php 7.0-17 with a installed openss-1.0 and openssl-1.1 lib bombs out with segmentation fault even on a php_info(). Without changes php70 does not build with 1.1 installed. I have tried the PKG_CONFIG_PATH and now it builds again but I did not try it yet as this server this business critical and I first have to setup a test server to make sure it does not fails with segmentation errors.

At this time I have moved back to AUR/php56 which seems to run fine.

lilmike commented on 2017-05-02 13:53

When looking at the php56 package, which does detect openssl-1.0 correctly, I noticed before the ./configure etc steps:

export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig

This (seems to have) done the trick. Perhaps this could be tested and incorporated into the package if it works?
-Michael.

All comments