php - PDO_MYSQL configure failed when installing so file -


i have installed php 5.4.44 , mysql 5.1.51, , tried install pdo_mysql, when execute command ./configure --with-php-config=/usr/local/php/bin/php-config --with-pdo-mysql=/usr/local/mysql --with-zlib-dir=/usr/lib64/, shows

pdo_mysql configure failed, mysql 4.1 needed.

i have tried change version of php doesn't work, problem , how can fix this?

installation processes require development headers along binaries. in case, missing libmysqlclient-dev:

sudo apt-get install libmysqlclient-dev 

Comments

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

javascript - How to change image src on success AJAX -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -