Skip to content

New version of debian for php 7 #501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mhf-ir opened this issue Sep 26, 2017 · 2 comments
Closed

New version of debian for php 7 #501

mhf-ir opened this issue Sep 26, 2017 · 2 comments

Comments

@mhf-ir
Copy link

mhf-ir commented Sep 26, 2017

I use image php:7-fpm

I think we need debian 9 for php7 base image one of errors:

root@bb14f81d78a4:/var/www/html# apt-get install libsodium-dev

after want to install pecl installation of libsodium

root@bb14f81d78a4:/var/www/html# pecl install libsodium
downloading libsodium-2.0.4.tgz ...
Starting to download libsodium-2.0.4.tgz (171,345 bytes)
.....................................done: 171,345 bytes
8 source files, building
running: phpize
Configuring for:
PHP Api Version:         20160303
Zend Module Api No:      20160303
Zend Extension Api No:   320160303
building in /tmp/pear/temp/pear-build-defaultuser6sBRRb/libsodium-2.0.4
running: /tmp/pear/temp/libsodium/configure --with-php-config=/usr/local/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20160303
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for sodium support... yes, shared
checking for pkg-config... /usr/bin/pkg-config
checking for libsodium... Requested 'libsodium >= 1.0.9' but version of libsodium is 1.0.0
Requested 'libsodium >= 1.0.9' but version of libsodium is 1.0.0
version 1.0.0 found using pkg-config
checking for crypto_pwhash in -lsodium... no
configure: error: wrong libsodium lib version (< 1.0.9) or lib not found
ERROR: `/tmp/pear/temp/libsodium/configure --with-php-config=/usr/local/bin/php-config' failed
@tianon
Copy link
Member

tianon commented Oct 2, 2017

See the discussion in #468 for some of the issues around making a change like this (or even just another variant).

@yosifkit
Copy link
Member

yosifkit commented Oct 3, 2017

Closing in favor of discussion to create base distro update process #504.

@yosifkit yosifkit closed this as completed Oct 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants