I'm trying to configure PHP7 and I'm getting this error even though ./configure --help
says that the variable name is --with-jpeg-dir
. What am I missing? Here is my command:
./configure --with-apxs2=/usr/bin/apxs --with-mysqli --with-imap --with-imap-ssl --with-kerberos -- with-pdo-mysql --with-openssl --with-curl --enable-pcntl libdir=lib64 --with-zlib --enable-zip --enable-mbstring --enable-intl --with-readline --with-xsl --with-gd --with-jpeg-dir=/usr/lib64 --with-png-dir=/usr/lib64 --with-gmp --enable-bcmath --enable-opcache --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
The exact error response is:
configure: error: invalid variable name: '--with-jpeg-dir'