装PHP时的错误
时间:2006-12-07 来源:leigaiting
开始configure时用这样的参数:
./configure --with-prefix=/usr/loca/php --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs
一直出现错误error: DBA: Could not find necessary header file(s)
原来是PHP不支持mysql=,改为--with-mysql-dir=...就可以了。
./configure --with-prefix=/usr/loca/php --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs
一直出现错误error: DBA: Could not find necessary header file(s)
原来是PHP不支持mysql=,改为--with-mysql-dir=...就可以了。
相关阅读 更多 +
排行榜 更多 +