1. 程式人生 > >php缺少mysql模組解決方案

php缺少mysql模組解決方案

http://www.cnblogs.com/wangtao_20/archive/2011/03/07/1973621.html

http://www.linuxquestions.org/questions/linux-software-2/php5-configure-error-cannot-find-mysql-header-files-230651/

http://2233426.blog.51cto.com/2223426/1264128

http://dba.stackexchange.com/questions/54608/innodb-error-table-mysql-innodb-table-stats-not-found-after-upgrade-to-mys

關鍵:如果是自己編譯安裝的mysql,那麼使用--with-mysql=/usr/local/mysql (或者使用/usr);如果是源安裝的,那麼只要加上--with-mysql即可,讓配置自行查詢)