Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Feb 2004
    Posts
    56

    Default Install PDO_MYSQL

    I installed PDO_MYSQL in my server, and in the end of the installation, appeared the following message:

    Build process completed successfully
    Installing ' /var/tmp/pear-build-root/install-PDO_MYSQL-1.0.2//usr/local/lib/php/extensions/no-debug-non-zts-20050922/pdo_mysql.so '
    install ok: channel://pecl.php.net/PDO_MYSQL-1.0.2
    You should add " extension=pdo.so " to php.ini
    You should add " extension=pdo_mysql.so " to php.ini

    I added in the php.ini "extension=pdo.so" and "extension=pdo_mysql.so". But when I access in my site phpinfo.php, it doesn't list that the pdo_mysql is installed, just list:

    PDO
    PDO SUPPORT ENABLED
    PDO DRIVERS SQLITE2

    Somebody would know how to do so that appears in the php.ini? because for the that I saw, it is installed.

    Thanks

  2. #2
    Member
    Join Date
    Feb 2004
    Posts
    56

    Default

    Its work now:

    updatedb
    locate pdo.so
    locate pdo_mysql.so

    root@server1 [/]# locate pdo.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20050922/pdo.so

    root@server1 [/]# locate pdo_mysql.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20050922/pdo_mysql.so

    Im adding this to php.ini

    extension=/usr/local/lib/php/extensions/no-debug-non-zts-20050922/pdo.so
    extension=/usr/local/lib/php/extensions/no-debug-non-zts-20050922/pdo_mysql.so

    /etc/init.d/httpd restart

Similar Threads & Tags
Similar threads

  1. Installing PDO_MYSQL - PDO drivers not loading
    By CharlesRock in forum Database Discussions
    Replies: 3
    Last Post: 05-14-2011, 12:42 PM
  2. PDO_mysql
    By jamest123 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-28-2008, 07:59 AM
  3. PDO_MYSQL installation
    By The WebDruid in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-21-2008, 01:07 PM
  4. pdo_mysql
    By Olate in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 11-13-2007, 09:10 PM
  5. PDO_Mysql, Apache 2.2, Mysql 5, PHP 5.2.4, Not Functional
    By geedew in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-19-2007, 11:53 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube