pdo_mysql installation

Posted by Arsenal on Server Fault See other posts from Server Fault or by Arsenal
Published on 2010-05-11T06:36:45Z Indexed on 2010/05/11 6:44 UTC
Read the original article Hit count: 344

Filed under:
|
|

Hello,

On my server I'm trying to instal PHP Projekt (6). This requires pdo_mysql however. I thought this installation of pdo_mysql would be rather straightforward...

I tried using pecl (pecl install pdo_mysql) after installing devel etc, but this came up with a permission denied error. I solved this by using directories that were accessible. It then came up with a cant run C compiled programs however. It also says to check config.log for more details but ironically config.log is automatically removed if the installation process fails... When I try to compile and output a "hello world".c however, it works perfectly.

I then tried to download the pdo_mysql stuff and install in myself (using configure and make install). This seemed to do the job, but when I restarted my apache ... no sign of pdo_mysql anywhere even though I adjusted my php.ini file

I have read somewhere that you need to recompile PHP with the option pdo_mysql enabled. But how does one do that (I'm using CentOS4). And isn't there any other way than that???

Thanks!

© Server Fault or respective owner

Related posts about linux

Related posts about installation