Ставлю ПХП5. Делаю так: ./configure --with-mysql
и так:
./configure --with-mysql=/usr/lib/mysql
ноль эмоций:
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under /var/lib/mysql.
Note that the MySQL client library is not bundled anymore.