ubuntu安装好openssl后,编译php还是提示这个错误,百度找了几篇博客都没用,只能翻墙 谷歌了 参考:https://serverfault.com/questions/415458/how-to-solve-configure-error-cannot-find-openssl
apt-get install libssl-dev libsslcommon2-dev
但还是报错误
configure: error: png.h not found.
继续挣扎。。。。
apt-get install libpng-dev
接着报错:
Please reinstall the mysql distribution
提示先安装mysql 好吧