问道安装时出现Error Path can not find ftpclient.cd path 这…

***PHP提示error: Cannot find MySQL header files under 错误!!
系统:CENTOS 5.8& 32位
***PHP编译提示错误: configure: error: Cannot find MySQL header files under /usr/bin/. Note that the MySQL client library is not bundled anymore!
mysql路径:/usr/bin/mysql mysql.h路径:usr/include/mysql/mysql.h
编译PHP时设置: ./configure --prefix=/usr/local/php5
--with-config-file-path=/usr/local/php5/etc
--with-mysql=/usr/bin/
--with-mysqli=/usr/bin/mysql_config
mysql版本:5.5.27 PHP版本: 5.4.6
已***了mysql、mysql client、mysql-devel(都是rpm包***)
已解决: --with-config-file-path=/usr&& 便可
很好, 解决了,可是为什么就找不到呢?

参考资料

 

随机推荐