The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PDO+PDO_MYSQL on php5.2.1+php-suexec (php-cgi)?

Discussion in 'General Discussion' started by PondRicefied, May 11, 2007.

  1. PondRicefied

    PondRicefied Well-Known Member

    Joined:
    Dec 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    I have installed php5.2.x+php-suexec from WHM.
    The now problem is being unable to use pdo_mysql.

    Can it be filled with the following command after installing as a required compile option from WHM?
    ---
    [/home/cpapachebuild/buildapache/php-5.2.1]# ./configure --with-pdo=shared --with-pdo-mysql=shared
    ---
     
  2. PondRicefied

    PondRicefied Well-Known Member

    Joined:
    Dec 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    All is an error although I tried the following thing. (It seems that installation is completed.)

    -- run ---
    $ pecl install -f pdo_mysql

    or

    PDO_MYSQL-1.0.2/$ phpize
    PDO_MYSQL-1.0.2/$ ./configure --with-pdo-mysql=shared
    ----------
    |
    v
    -- Apache Log ---
    /usr/bin/php: error while loading shared libraries: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so: undefined symbol: php_pdo_declare_long_constant
    --------------------

    Anyone Please.
     
  3. PondRicefied

    PondRicefied Well-Known Member

    Joined:
    Dec 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    I have not tried the following. I am it worried whether it succeeds at this step.

    --- After WHM->Apache Update->Load Previouse Config->Start Build ---
    /home/cpapachebuild/buildapache/php-5.2.1 $ ./config.nice --with-pdo-mysql=shared
    $ pecl install -f pdo_mysql
    --------------------------------------------------------------------------------

    Was someone installable at this step?
    Or is it unable in PHP of a cgi module?
     
  4. PondRicefied

    PondRicefied Well-Known Member

    Joined:
    Dec 13, 2004
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    It ran without 'pecl install pdo' by 'pecl install pdo_mysql'.

    thak you.
     
Loading...
Similar Threads - PDO+PDO_MYSQL php5 1+php
  1. durangod
    Replies:
    2
    Views:
    217

Share This Page