I droped it but now the new error happened: checking for mysql_config... not found configure: error: Unable to find your mysql installation And I'm sorry to send more than one reply. Maybe there are something wrong with the network here. 2012/3/24 Daniel Brown <danbrown@xxxxxxx> > 2012/3/23 Asher Wong <wongzhaoyuan@xxxxxxxxx>: > > Now I use the command below to configure php: > > ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=mysqlnd > > --with-mysql=/usr/local/mysql/bin/mysql_config --with-mysqli=mysqlnd > > --with-pdo-mysql=myslqnd > > > > And the error happened: > > configure: error: Cannot find MySQL header files under > > /usr/local/mysql/bin/mysql_config. > > Note that the MySQL client library is not bundled anymore! > > Drop this: > > --with-mysql=/usr/local/mysql/bin/mysql_config > > .... and please only send one reply. I keep getting your first > reply, then a second reply one or two minutes later. > > -- > </Daniel P. Brown> > Network Infrastructure Manager > http://www.php.net/ > -- 黄昭源(Asher Wong) *Best Wishes To You!*