pdo_mysql install issue

Discussion in 'Server Operation' started by digen, Jan 5, 2008.

  1. digen

    digen New Member

    Hello,

    I am trying to install PDO_MYSQL-1.0.2 for php 5.2.3 (CGI).

    cd PDO_MYSQL-1.0.2
    /usr/local/php5/bin/phpize
    ./configure

    throws this,

    checking for mysql_commit... yes
    checking for mysql_stmt_prepare... yes
    checking for mysql_next_result... yes
    checking for mysql_sqlstate... yes
    checking for PDO includes... checking for PDO includes...
    configure: error: Cannot find php_pdo_driver.h.

    The file does exist at /usr/local/php5/include/php/ext/pdo/php_pdo_driver.h

    I have tried appending the CPPFLAGS='I/usr/local/php5/include/php/ext/pdo/` to the configure statement but that hasn't corrected the issue and the configure statement fails to find the PDO include directory.

    Installation using pecl fails with the same error.

    /usr/local/php5/bin/pecl install pdo_mysql

    The server already has PDO installed and pdo_slite.

    Any suggestions or pointers are much appreciated. Thanks
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. digen

    digen New Member

    Falko,

    I am using Cent OS. It doesn't have yum installed/configured.
     
  4. falko

    falko Super Moderator Howtoforge Staff

Share This Page