Magento Forum

Problem installing pdo_mysql
 
gp1234
Jr. Member
 
Total Posts:  2
Joined:  2008-02-09
 

Hi there,

I’m currently trying to install pdo_mysql on my dedicated server (so I can then install Magento), but I’m having a few problems.

Trying to run the command

sudo pecl install PDO_MYSQL

gives an error…

configure: error: Cannot find MySQL header files under
ERROR: `/tmp/pear/cache/PDO_MYSQL-1.0.2/configure’ failed

Looking on the forums suggests running the command

sudo apt-get install libmysqlclient15-dev

, but this gives an error…

E: Couldn’t find package libmysqlclient15-dev

I’m trying to install on Linux running Apache with PHP v5.2.4 and MySQL v5.0.45.

Any help would be much appreciated.

Thanks for your time!

 
Magento Community Magento Community
Magento Community
Magento Community
 
iblastoff
Sr. Member
 
Total Posts:  252
Joined:  2007-08-31
 

does it find mysql_config fine?
if its a configure error have you tried just adding the pdo directives to the ./configure ?

honestly, best place would be to ask your host since this isn’t really a magento issue but dedicated server issue. there are so many variables to take into consideration without actually having access to your server.

 
Magento Community Magento Community
Magento Community
Magento Community
 
gp1234
Jr. Member
 
Total Posts:  2
Joined:  2008-02-09
 

Thanks for your reply.

Yes, checking the previous line in the log says “checking for mysql_config… not found”. I searched the server and couldn’t find “mysql_config” on it, so I was guessing that this meant “libmysqlclient15-dev” needs to be installed. Is this right?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top