As you are probably aware, PHP 5.3.4 does not compile with MySQL 5.5 GA (http://www.mysql.com/why-mysql/white-papers/mysql-wp-whatsnew-mysql-55.php). The details can be seen in MySQL bug queue. Basically, the problem boils down to incorrect installation of MySQL headers. MySQL 5.5 build system does not install the headers under the
include-prefix/mysql directly but instead installs under the
include-prefix directory itself. So, when the PHP build system looks for the MySQL (http://mysql.com/) headers, it cannot find
<mysql/psi/mysql_thread.h> and so forth.
What is the fix?
The MySQL dev team[Read more...]