Compiling PHP:./configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/etc--enable-fpm--with-fpm-user= PHP-FPM--with-fpm-group=php-fpm--with-mysql-dir=/usr/local/mysql--with-mysql-sock=/tmp/mysql.sock-- With-libxml-dir--with-gd--with-jpeg-dir--with-png-dir--with-freetype-dir--with-iconv-dir--with-zlib-dir-- With-mcrypt--enable-soap--enable-gd-native-ttf--enable-ftp--enable-mbstring--enable-exif-- Enable-zend-multibyte--disable-ipv6--with-pear--with-curl=/usr/bin/--with-openssl
Prompt for error message:
Configure:error:mysql Configure failed. Please check the Config.log for more information
Modify the--with-mysql=/usr/local/mysql to--with-mysql-dir=/usr/local/mysql resolution.
The cause is unknown and may be a version issue. Because the tutorial is normal.
Thanks http://www.myexception.cn/ai/1653997.html
MySQL error when compiling PHP