Installing PDO_MYSQL

97niekos

Verified User
Joined
Sep 15, 2008
Messages
12
We want to use http://www.magentocommerce.com/ on our websites.

But we need to install PDO_MYSQL,

So we tried to install it with pearl installed an module of mysql.
and in our php.ini we enabled it.
but it is still not working.

Do we need to rebuild php or something?
 
We we do is to add --with-pdo-mysql into the configuration file and then rebuild PHP.

Code:
cd /usr/local/directadmin/custombuild
nano custom/suphp/configure.php5

under "--with-mysql=/usr \", add:
Code:
--with-pdo-mysql \

Save and exit. Recompile PHP:
Code:
./build php5-cgi n
 
Error

We followed the above instructions... and we get this errors:

MD5 Checksum on php-5.2.6-mail-header.patch passed.
Can not build PHP5 as CGI because it is not set in options.conf.
 
same problem

I am having the same problem here. I would like to enable PDO_MYSQL.

I did:

-pecl install pdo
-pecl install pdo_mysql

Did the things mentioned above. When it starts to build iam getting an error that it cant find the pdo files.

What am i missing or doing wrong?

Iam using centos with php 5.2.6, mysql 5.0.67 and directadmin.

Hope someone can help me out.
 
sorry, i tried all the things you mentioned above but when i try to build php it cant find the pdo files. Do i have to install more?
 
Last edited:
i'm having the same issue as martijnr....

i ran pecl install pdo and pecl install pdo_mysql which stuck the two .so files into: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/

when i run ./build php-cli5 n it is looking for those files in ./
 
Back
Top