Public bug reported: The php5-dev package does not include the mysqlnd header files, and therefore pecl installation of mysqlnd plugins fails.
The php5-mysqlnd package does not include the header files. Reproduction: $ sudo apt-get install php5-mysqlnd php5-dev (installing dependencies, assuming that worked) $ sudo pecl install mysqlnd_qc (answer "no" to storage engine questions) Shortly the compile fails, file "php5/ext/mysqlnd/php_mysqlnd.h" missing - in fact, the expected /usr/include/php5/ext/mysqlnd folder is missing. This can be manually fixed by using apt-get source and dpkg-buildpackage to build the php5 packages locally, and then copying the include folder from the build outputs. $ lsb_release -rd Description: Ubuntu 12.04.1 LTS Release: 12.04 $ apt-cache policy php5-dev php5-dev: Installed: 5.3.10-1ubuntu3.4 Candidate: 5.3.10-1ubuntu3.4 Version table: *** 5.3.10-1ubuntu3.4 0 500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages 100 /var/lib/dpkg/status 5.3.10-1ubuntu3 0 500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages $ apt-cache policy php5-mysqlnd php5-mysqlnd: Installed: 5.3.10-1ubuntu3.4 Candidate: 5.3.10-1ubuntu3.4 Version table: *** 5.3.10-1ubuntu3.4 0 500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe amd64 Packages 500 http://security.ubuntu.com/ubuntu/ precise-security/universe amd64 Packages 100 /var/lib/dpkg/status 5.3.10-1ubuntu3 0 500 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages ** Affects: php5 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1056072 Title: php5-dev missing mysqlnd header files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1056072/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs