I have ispconfig 3.1.15p3 Centos 7 apache php 7.2 I am trying to add php 7.3 as option, but at compiling php step (as the following) Code: ./configure \ --prefix=/opt/php-7.3 \ --with-libdir=lib64 \ --disable-rpath \ --enable-fpm \ --with-fpm-user=apache \ --with-fpm-group=apache \ --enable-cgi \ --with-libxml-dir=/usr \ --with-openssl \ --with-pcre-regex \ --with-zlib \ --enable-bcmath \ --with-bz2 \ --enable-calendar \ --with-curl \ --enable-exif \ --enable-ftp \ --with-gd \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-zlib-dir \ --with-freetype-dir \ --with-gettext \ --with-mhash \ --with-imap \ --with-kerberos \ --with-imap-ssl \ --enable-mbstring \ --enable-mbregex \ --with-mysqli \ --enable-opcache \ --enable-pcntl \ --with-pdo-mysql \ --enable-soap \ --enable-sockets \ --with-sodium \ --enable-sysvsem \ --enable-sysvshm \ --with-xmlrpc \ --with-xsl \ --enable-zip \ --with-libzip \ --enable-inline-optimization I got this error Code: configure: error: off_t undefined; check your library configuration I googled for this error, found some result about zlib configration, tried them but all failed! advice please
thanks for replay, this is the last lines of output with error Code: checking for strtoul... yes checking for strtoull... yes checking for snprintf... (cached) yes checking for strstr... (cached) yes checking for strpbrk... yes checking for strerror... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking whether to enable XMLWriter support... yes checking for xml2-config path... (cached) /usr/bin/xml2-config checking whether libxml build works... (cached) yes checking for XSL support... yes checking for EXSLT support... found checking whether to enable zend-test extension... no checking for zip archive read/writesupport... yes checking pcre install prefix... no checking libzip... yes checking for the location of zlib... /usr checking for pkg-config... (cached) /usr/bin/pkg-config checking for libzip... in default path: found in /usr/local checking for zip_open in -lzip... yes checking for zip_file_set_encryption in -lzip... yes checking for zip_libzip_version in -lzip... yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking fts.h usability... yes checking fts.h presence... yes checking for fts.h... yes checking for int8_t... (cached) yes checking for int16_t... (cached) yes checking for int32_t... (cached) yes checking for int64_t... (cached) yes checking for uint8_t... (cached) yes checking for uint16_t... (cached) yes checking for uint32_t... (cached) yes checking for uint64_t... (cached) yes checking for ssize_t... yes checking size of short... (cached) 2 checking size of int... (cached) 4 checking size of long... (cached) 8 checking size of long long... (cached) 8 checking size of off_t... 0 configure: error: off_t undefined; check your library configuration
Here are several solutions, especially the last one is specific to centos 7: https://stackoverflow.com/questions/44941513/php-compile-off-t-undefined
I followed this before but not solving the problem, anyway for me now I made update to php 7.3 and I will try to add php 7.2 as option