phpize problem

    Date: 04/08/07 (PHP Community)    Keywords: php

    I'm having trouble installing some PECL modules (fileinfo and memcache, for use with Horde). I run "pecl install fileinfo" or even just "phpize fileinfo" and it fails. The error messages are:

    Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
    environment variable is set correctly and then rerun this script.


    I know the PHP_AUTOCONF variable is empty because I echo it and get a blank line. Where is autoconf, and where would I set the variable? I'm using my own installation of PHP5 on Dreamhost.

    Also, when I run the install (an not just phpize), it complains:

    /home/myid/php5/bin/phpize: /usr/local/tmp/pear/cache/memcache-2.1.2/build/shtool: /bin/sh: bad interpreter: Permission denied

    Again, this is on Dreamhost, so I'm not surprised permissions are denied, but is this something I can fix? Can I set the temp directory to something else, can I set /bin/sh to something else?

    Can anybody help? I really want to install Horde, and although these are just "recommended" modules, I'd really like to get the root of problem resolved for the future.

    Thanks.

    Source: http://community.livejournal.com/php/559168.html

« text messages || easy alternate table rows »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home