安装php扩展pho_mysql
错误信息: checking for mysql_config... not found configure: error: Unable to find your mysql installation 解决方法: 这个错误是由于在编译的时候指定了 ‘ --with-pdo-mysql ’ 选项,但它并没有找到 mysql 的安装目录,因此必须指定 mysql 的安装目录 '--with-pdo-mysql=/usr/local/mysql'