Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    3

    Default PDO_Mysql, Apache 2.2, Mysql 5, PHP 5.2.4, Not Functional

    I have posted on this topic before, looking for help with the new easyapache3.

    I need to use PDO support for mysql. The pdo drivers seem to install fine with sqlite running on
    WHM 11.11.0 cPanel 11.12.0-C17116
    REDHAT Enterprise 4 i686 on standard - WHM X v3.1.0
    with the standard installation mehod of easyapache3. The issue is when I try to install support for the pdo_mysql.

    In other posts I created a working method for handling this and it worked great. But now, with the newer installer, and even compensating for the moved php directory, my method fails to install pdo_mysql. This is a real bummer, as the pecl just errors out with the autoconf not found (presumably something to do with tmp not being mounted as writeable). Also, the manual install (./configure blah...) goes through without any errors... yet the module is not installed, in fact, breaks pdo_sqlite.

    Any body have any way to solve this... without hacking at it?

    Thanks.

  2. #2
    cPanel Staff
    Join Date
    Mar 2004
    Posts
    704

    Default

    Quote Originally Posted by geedew View Post
    I have posted on this topic before, looking for help with the new easyapache3.

    I need to use PDO support for mysql. The pdo drivers seem to install fine with sqlite running on
    WHM 11.11.0 cPanel 11.12.0-C17116
    REDHAT Enterprise 4 i686 on standard - WHM X v3.1.0
    with the standard installation mehod of easyapache3. The issue is when I try to install support for the pdo_mysql.

    In other posts I created a working method for handling this and it worked great. But now, with the newer installer, and even compensating for the moved php directory, my method fails to install pdo_mysql. This is a real bummer, as the pecl just errors out with the autoconf not found (presumably something to do with tmp not being mounted as writeable). Also, the manual install (./configure blah...) goes through without any errors... yet the module is not installed, in fact, breaks pdo_sqlite.

    Any body have any way to solve this... without hacking at it?

    Thanks.
    Do you mean PDO=mysql for PHP? If so I believe that (and other otps) have moved to PECL/PEAR

  3. #3
    Registered User
    Join Date
    Jun 2007
    Posts
    3

    Default

    Yes, I will check out more on the pecl issue as far as tmp not being executable, and report back if I get it.

Similar Threads & Tags
Similar threads

  1. apache 1.3 -> 2.2.6 php 4.x -> php 5 & mysql 4 -> 5
    By qwerty in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-05-2008, 09:13 AM
  2. PDO+PDO_MYSQL on php5.2.1+php-suexec (php-cgi)?
    By PondRicefied in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-16-2007, 09:36 PM
  3. Apache 2.0, PHP 5 and MySql 5
    By jive01 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-07-2005, 05:00 AM
  4. MySQL DB Restore Non-functional
    By Solokron in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 11-25-2004, 10:03 AM
  5. PHP mail() function NOT functional
    By kcdworks in forum cPanel and WHM Discussions
    Replies: 22
    Last Post: 07-08-2003, 08:15 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube