php configure Err:Cannot find MySQL header file...

./configure  --prefix=/usr/local/php-5.3.27 --with-imap  --with-mcrypt  --with-mysql --with-gd --with-jpeg-dir --with-png-dir --with-curl  --enable-gd-native-ttf --enable-mbstring --with-png-dir --with-pdo-mysql --enable-fpm --with-zlib --with-fpm-user=daemon --with-fpm-group=daemon --with-kerberos --with-openssl --with-imap-ssl

Err1:configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!

sol1:如果mysql是编译安装的需要 --with-mysql=你的mysql安装路径,apt安装的执行:sudo apt-get install libmysqlclient18 libmysqlclient-dev


你可能感兴趣的:(mysql,header,find,Files,cannot,under,yes)