Reputation: 31
I have installed php 5.4.44 and mysql 5.1.51, and I tried to install pdo_mysql
, but when I execute the command ./configure --with-php-config=/usr/local/php/bin/php-config --with-pdo-mysql=/usr/local/mysql --with-zlib-dir=/usr/lib64/
, always shows
PDO_MYSQL configure failed, MySQL 4.1 needed.
I have tried change the version of PHP which doesn't work, where is the problem and how can I fix this?
Upvotes: 2
Views: 1787
Reputation: 1111
Installation processes require the development headers along with the binaries. In this case, you are missing libmysqlclient-dev
:
sudo apt-get install libmysqlclient-dev
Upvotes: 1