Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2009
    Location
    Guadalajara
    Posts
    31

    Question Install pdo_pgsql

    i try install pdo_pgsql but return this message:

    root@local [/]# pecl install pdo_pgsql
    WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
    downloading PDO_PGSQL-1.0.2.tgz ...
    Starting to download PDO_PGSQL-1.0.2.tgz (14,961 bytes)
    .....done: 14,961 bytes
    downloading PDO-1.0.3.tgz ...
    Starting to download PDO-1.0.3.tgz (52,613 bytes)
    ...done: 52,613 bytes
    12 source files, building
    running: phpize
    Configuring for:
    PHP Api Version: 20041225
    Zend Module Api No: 20060613
    Zend Extension Api No: 220060519
    building in /var/tmp/pear-build-root/PDO-1.0.3
    running: /root/tmp/pear/PDO/configure
    checking for egrep... grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... configure: error: cannot run C compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details.
    ERROR: `/root/tmp/pear/PDO/configure' failed
    7 source files, building
    running: phpize
    Configuring for:
    PHP Api Version: 20041225
    Zend Module Api No: 20060613
    Zend Extension Api No: 220060519
    building in /var/tmp/pear-build-root/PDO_PGSQL-1.0.2
    running: /root/tmp/pear/PDO_PGSQL/configure
    checking for egrep... grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... configure: error: cannot run C compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details.
    ERROR: `/root/tmp/pear/PDO_PGSQL/configure' failed
    root@local [/]#

    permissions:
    in root/
    drwxrwxrwx 3 0 0 4.0K Jul 15 15:27 tmp/

    something idea?

  2. #2
    Member
    Join Date
    Jun 2007
    Posts
    138

    Default

    You might have secured your /tmp . Can you paste the output of

    cat /etc/fstab | grep tmp


    I would say , download the package and extract it to another location such as /usr/local/src and install it manually using ./configure

    Change extension path in php.ini .
    LogicSupport.com - Support That Makes Sense!
    Quality Server Management & Web Hosting Support

  3. #3
    Member
    Join Date
    May 2003
    Location
    Hokkaido, JAPAN
    Posts
    91

    Default PDO_PGSQL is not working after apache rebuild

    Hello,

    I had PDO_PGSQL installed under php5.2.1, after I rebuild apache with php5.2.12, this function is not working.

    I was trying to reinstall, but it says it is already installed.

    I located the files, but they are all under php5.2.1 directory.

    Now how can I make this work under php5.2.12?

    Thanks.

  4. #4
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by asiams View Post
    I had PDO_PGSQL installed under php5.2.1, after I rebuild apache with php5.2.12, this function is not working.

    I was trying to reinstall, but it says it is already installed.

    I located the files, but they are all under php5.2.1 directory.

    Now how can I make this work under php5.2.12?
    There should not be a specific directory for PHP 5.2.1; what method was used to originally install pdo_pgsql for PHP?

    I would try installing pdo_pgsql via the Modules Installer in WHM.
    WHM: Main >> Software >> Module Installers >> PHP Pecl

Similar Threads & Tags
Similar threads

  1. Add pdo_pgsql to EasyApache
    By VeZoZ in forum Feature Requests for cPanel/WHM
    Replies: 1
    Last Post: 11-11-2011, 01:51 PM
  2. APC install Error on WHM / Install Gide!
    By saamxvr in forum New User Questions
    Replies: 3
    Last Post: 12-22-2010, 11:00 AM
  3. CentOS Quick Install DVDs is also install default cpanel?
    By sodapopinski in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-10-2009, 08:39 AM
  4. Erro in Install (Bad file descriptor at ./install line 650)
    By CleberDantas in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 08-06-2007, 10:57 AM
  5. Installing pdo_pgsql
    By jeff.chapin in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-27-2007, 03:29 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube