Results 1 to 10 of 10

Thread: Installing PDO_MYSQL

  1. #1
    Join Date
    Sep 2008
    Posts
    12

    Installing PDO_MYSQL

    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?

  2. #2
    Join Date
    Nov 2004
    Location
    Hong Kong
    Posts
    598
    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
    Rails in DA - Ruby on Rails plugin with Phusion Passenger support
    DA-Tomcat - Tomcat manager plugin
    DA-PgSQL - PostgreSQL plugin
    IP Deny Manager - prevent someone from accessing your web site and prevent hotlinking
    DeeperAdmin - Manager your server "deeper"

    Order at http://www.daplugin.com

  3. #3
    Join Date
    Sep 2008
    Posts
    12

    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.

  4. #4
    Join Date
    Nov 2004
    Location
    Hong Kong
    Posts
    598
    Use

    ./build php5-cli n

    for PHP CLI.
    Rails in DA - Ruby on Rails plugin with Phusion Passenger support
    DA-Tomcat - Tomcat manager plugin
    DA-PgSQL - PostgreSQL plugin
    IP Deny Manager - prevent someone from accessing your web site and prevent hotlinking
    DeeperAdmin - Manager your server "deeper"

    Order at http://www.daplugin.com

  5. #5
    Join Date
    Sep 2008
    Posts
    12
    its working
    thanks.

  6. #6
    Join Date
    Sep 2008
    Posts
    2

    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.

  7. #7
    Join Date
    Nov 2004
    Location
    Hong Kong
    Posts
    598
    did u see my posts? #2 and #4
    Rails in DA - Ruby on Rails plugin with Phusion Passenger support
    DA-Tomcat - Tomcat manager plugin
    DA-PgSQL - PostgreSQL plugin
    IP Deny Manager - prevent someone from accessing your web site and prevent hotlinking
    DeeperAdmin - Manager your server "deeper"

    Order at http://www.daplugin.com

  8. #8
    Join Date
    Sep 2008
    Posts
    2
    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 by martijnr; 09-19-2008 at 12:27 PM.

  9. #9
    Join Date
    Feb 2006
    Posts
    163
    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 ./
    True Negative - Complex Hosting Made Simple - AS1636
    Rochester, NY / Buffalo, NY

    Shared / VPS / Dedicated / Colo / App Dev

  10. #10
    Join Date
    Feb 2006
    Posts
    163
    True Negative - Complex Hosting Made Simple - AS1636
    Rochester, NY / Buffalo, NY

    Shared / VPS / Dedicated / Colo / App Dev

Similar Threads

  1. Error after installing pdo_mysql
    By syedbadz in forum General Technical Discussion & Troubleshooting
    Replies: 1
    Last Post: 08-22-2009, 10:51 PM
  2. Can't install PDO / PDO_MYSQL
    By morfargekko in forum MySQL / PHP
    Replies: 3
    Last Post: 11-02-2008, 01:13 AM
  3. PDO_MYSQL install
    By 1mind in forum System-Level Technical Discussion
    Replies: 1
    Last Post: 06-27-2008, 09:32 AM
  4. Installing pdo_mysql on FreedBSD 6
    By Slash in forum FreeBSD 6.x
    Replies: 1
    Last Post: 06-25-2008, 02:33 PM
  5. PHP 5.1.5 and PDO_MYSQL
    By snaaps in forum MySQL / PHP
    Replies: 0
    Last Post: 02-27-2007, 04:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •