Fileinfo installation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Swoopy

    Fileinfo installation

    I am trying to install the Fileinfo pecl extension, on CentOS 4.5,
    with php 5.2.3.
    After running the following command I get:

    [root@host ~]# pecl install fileinfo
    downloading Fileinfo-1.0.4.tgz ...
    Starting to download Fileinfo-1.0.4.tgz (5,835 bytes)
    ......done: 5,835 bytes
    3 source files, building
    running: phpize
    Configuring for:
    PHP Api Version: 20041225
    Zend Module Api No: 20060613
    Zend Extension Api No: 220060519
    /usr/local/bin/phpize: /tmp/pear/cache/Fileinfo-1.0.4/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.

    ERROR: `phpize' failed

    /bin.sh actually exists and links to bash...

    Any sugestions please??

  • Swoopy

    #2
    Re: Fileinfo installation

    OK, I got it working, just set up $PHP_AUTOCONF to autoconf...

    Stupid me :)


    Comment

    Working...