Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Installing pdo_pgsql

Discussion in 'General Discussion' started by jeff.chapin, Jun 27, 2007.

  1. jeff.chapin

    jeff.chapin Registered

    Joined:
    Apr 19, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    Hello all,
    I am attempting to install pdo_pgsql for one of my clients.

    I am not seeing any options in easy apache, so I took the step to try and install with

    Code:
    pecl install pdo_pgsql
    which fails with the following error:

    Code:
    Zend Module Api No:      20060613
    Zend Extension Api No:   220060519
    /usr/local/bin/phpize: /tmp/pear/cache/PDO-1.0.3/build/shtool: /bin/sh: bad interpreter: Permission denied
    Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
    environment variable is set correctly and then rerun this script.
    
    
    /tmp is executable.

    Autoconf is installed and version 1.9

    Any advice?

    Thanks.
     
  2. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    769
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    /dev/null
    are you sure /tmp is executable? as thats the exact same error you get when its noexec
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. wadearnold

    wadearnold Well-Known Member

    Joined:
    Jan 13, 2002
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    316
    ls -la /
    drwxrwxrwx 7 root root 3072 Jun 27 12:55 tmp

    I changed it to be executable and the pecl install still does not seem to work.
     
  4. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    769
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    /dev/null
    thats because it will be mounted noexec rather than just have its permissions changed (check your fstab)

    The easiest way to get around this without remounting is to symlink /tmp/pear and /tmp/pear-build-root to say ~/ so that it can compile.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice