Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would need to install the mysqlnd driver for php, however am using a cPanel server and have to use easy apache.

I have set up raw-opts for

--with-mysql=mysqlnd 
--with-mysqli=mysqlnd 
--with-pdo-mysql=mysqlnd

however I am getting the error:

mysql_config not found

Has anyone had any success getting mysqlnd installed on cpanel, for php 5.3?

share|improve this question

closed as too localized by Michael Hampton, Ward, John Gardeniers, Brent Pabst, MadHatter Dec 13 '12 at 13:51

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Start here. –  Michael Hampton Dec 12 '12 at 21:57
    
@MichaelHampton thanks for the response, I have read through all the posts i've been able to find on mysqlnd, both through support and cpanels community forums; the raw-opts were the only documented thing I have been able to find. Other posts appear to say it is possible but not supported, however the most recent post was a year ago, asking basically the same question, but getting no response. –  MCannon Dec 12 '12 at 22:04

1 Answer 1

You will need the mysql_config program, which should have come with your MySQL installation.

If that program is not available you will have to check/reinstall the MySQL packages, or rebuild MySQL from source and ensure that the mysql_config program is installed somewhere where the PHP installer can find it.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.