A
A
Anatoly2018-08-02 03:16:38
PHP
Anatoly, 2018-08-02 03:16:38

What libraries are needed, in Debian, to compile php 7.2 from source?

Decided to move from php7.1 to php7.2 and faced with the fact that the test fails:
Installed:

apt install build-essential checkinstall libfcgi-dev libfcgi0ldbl libmcrypt-dev libssl-dev libc-client2007e libc-client2007e-dev libxml2-dev libbz2-dev libjpeg-dev libpng-dev libfreetype6-dev libkrb5-dev libpq-dev libxslt1-dev libxpm-dev libvpx-dev libssl-dev pkg-config libsnmp-dev libldap2-dev snmp-mibs-downloader libcurl4-openssl-dev curl libgmp-dev

after make test I get:
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
array curl_multi_info_read ( resource $mh [, int &$msgs_in_queue = NULL ] ); [ext/curl/tests/curl_multi_info_read.phpt]
ldap_set_option() - ldap_set_option() operation that should fail [ext/ldap/tests/ldap_set_option_error.phpt]
Bug #64159: Truncated snmpget [ext/snmp/tests/bug64159.phpt]
OO API: getErrno & getError methods [ext/snmp/tests/snmp-object-errno-errstr.phpt]
OO API [ext/snmp/tests/snmp-object.phpt]
Function snmp2_get [ext/snmp/tests/snmp2_get.phpt]
Function snmp2_set (without MIBs loading) [ext/snmp/tests/snmp2_set-nomib.phpt]
Function snmp2_set [ext/snmp/tests/snmp2_set.phpt]
SNMPv3 Support [ext/snmp/tests/snmp3.phpt]
Function snmp_getvalue [ext/snmp/tests/snmp_getvalue.phpt]
Function snmpget [ext/snmp/tests/snmpget.phpt]
Function snmpset (without MIBs loading) [ext/snmp/tests/snmpset-nomib.phpt]
Function snmpset [ext/snmp/tests/snmpset.phpt]
bool checkdnsrr ( string $host [, string $type = "MX" ] ); [ext/standard/tests/checkdnsrr.phpt]

I apply the settings:
./configure --prefix=/usr/local/php7 --with-config-file-path=/etc/php7/conf --with-fpm-user=nginx --with-fpm-group=nginx --enable-fpm --with-openssl=/usr/ --enable-mysqlnd --enable-mbstring --enable-sockets --enable-opcache --enable-zip --disable-phar --disable-ipv6 --with-zlib --with-curl --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysqli=mysqlnd --with-bz2 --without-sqlite3 --without-pdo-sqlite --without-pear --with-ldap  --with-libdir=/lib/x86_64-linux-gnu --with-snmp --with-gmp --with-gd --with-pdo-mysql --with-jpeg-dir=/.ro --with-png-dir=/.ro/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
neol, 2018-08-02
@neol

https://packages.sury.org/php/README.txt
There is php 7.2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question