Compilig PHP7.4 for Debian 10 using guide for Debian 9 gives errors

Discussion in 'Installation/Configuration' started by fbarcenas, Sep 15, 2020 at 1:41 PM.

  1. fbarcenas

    fbarcenas Member

    I was trying to use : https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/
    To install PHP 7.4 on debian but can't seem to get past the configuration phase.
    Code:
    ./configure --prefix=/opt/php-7.4 --with-pdo-pgsql --with-zlib-dir --with-freetype-dir --enable-mbstring --with-libxml-dir=/usr --enable-soap --enable-calendar --with-curl --with-mcrypt --with-zlib --with-gd --with-pgsql --disable-rpath --enable-inline-optimization --with-bz2 --with-zlib --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --enable-exif --enable-bcmath --with-mhash --enable-zip --with-pcre-regex --with-pdo-mysql --with-mysqli --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-jpeg-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --with-openssl --with-fpm-user=www-data --with-fpm-group=www-data --with-libdir=/lib/x86_64-linux-gnu --enable-ftp --with-imap --with-imap-ssl --with-kerberos --with-gettext --with-xmlrpc --with-xsl --enable-opcache --enable-fpm
    results in these errors:
    configure: WARNING: unrecognized options: --with-freetype-dir, --with-libxml-dir, --with-mcrypt, --with-gd, --enable-zip, --with-pcre-regex, --with-jpeg-dir, --with-png-dir, --enable-gd-native-ttf
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. Steini86

    Steini86 Active Member

    @till , can you edit that tutorial and make a big warning at the top to use the packages instead? ;-)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    yes, I'll add a note.
     
    Steini86 likes this.

Share This Page