multiple php version error

Discussion in 'Installation/Configuration' started by etken, May 8, 2020.

  1. etken

    etken New Member

    I have
    • ispconfig 3.1.15p3
    • Centos 7
    • apache
    • php 7.2
    I trying to add php 7.3 as multiple php version, at compiling php step as 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 searched google for this error found some result about zlib configration, tried them but all failed!
    advice please
     

Share This Page