Hi,
As part of LAMP installation and configuration on my deployment server CentOS-6, I was configuring PHP with MySQL support using the following,
./configure –with-apxs2=/usr/local/apache2/bin/apxs –with-mysql
And I got the following error:
configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
I fixed it by installing mysql-devel by issuing the following command:
# yum install mysql-devel
And checked the installation using,
# find / -name mysql.h
No comments:
Post a Comment