1.編譯apache後出現 No apache MPM package installed問題解決
在ubuntu下安裝apache是遇到No apache MPM package installed
原因是沒有安裝apache2-mpm-worker包,所以只需運行命令
apt-get install apache2-mpm-worker即可解決問題,然後啓動apache,這是服務就正常啓動了
2
.編譯php時出現configure: error: Cannot find MySQL
header files under yes.
Note that the MySQL client library is not bundled anymore.
解決辦法運行命令:apt-get install libmysqlclient15-dev來安裝這個確實的文件,然後重新編譯php
./configure --prefix=你的php目錄 --with-apxs2=/usr/local/apache/bin/apxs --with-mysql
這時就編譯通過了