Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Dec 2004
    Posts
    50

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

    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
    ---
    WHM 11.30.X cPanel 11.30.X
    RHEL5.X

  2. #2
    Member
    Join Date
    Dec 2004
    Posts
    50

    Default

    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.
    WHM 11.30.X cPanel 11.30.X
    RHEL5.X

  3. #3
    Member
    Join Date
    Dec 2004
    Posts
    50

    Default

    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?
    WHM 11.30.X cPanel 11.30.X
    RHEL5.X

  4. #4
    Member
    Join Date
    Dec 2004
    Posts
    50

    Default

    It ran without 'pecl install pdo' by 'pecl install pdo_mysql'.

    thak you.
    WHM 11.30.X cPanel 11.30.X
    RHEL5.X

Similar Threads & Tags
Similar threads

  1. Individual php.ini files for PHP FCGI and PHP CGI
    By Miraenda in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-22-2011, 09:55 AM
  2. Installing PDO_MYSQL - PDO drivers not loading
    By CharlesRock in forum Database Discussions
    Replies: 3
    Last Post: 05-14-2011, 01:42 PM
  3. Configure PHP and SuExec PHP5/4 addhandler issue
    By devGOD in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-10-2011, 03:47 PM
  4. 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, 12:53 PM
  5. php5(cgi) ignoring php.ini files in user dirs
    By panayot in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-09-2006, 03:21 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube