Re: Upgrading PEAR from 1.4.9 -> 1.4.11

From: Date: Thu, 19 Oct 2006 15:09:04 +0000
Subject: Re: Upgrading PEAR from 1.4.9 -> 1.4.11
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25554@lists.php.net to get a copy of this message
Kaj Schermer Didriksen wrote: > Hi > When I do an upgrade of pear from 1.4.9 I get an error thereafter as you > can see. Install worked ok as you can see. Any idea as to why? > > upgrade ok: channel://pear.php.net/PEAR-1.4.11 > PEAR: Optional feature webinstaller available (PEAR's web-based installer) > PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based > installer) > PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based > installer) > To install use "pear install pear/PEAR#featurename" > [ksd:~] kaj% sudo /usr/local/php5/bin/pear list > /usr/local/php5/bin/pear: line 28: /usr/local/php5/bin: is a directory > /usr/local/php5/bin/pear: line 28: exec: /usr/local/php5/bin: cannot > execute: Unknown error: 0 [snip] > PHP CLI/CGI binary php_bin /usr/local/php5/bin Hi, Here is the source of your problem: php_bin must be an executable PHP binary, and you have it set as the directory where scripts are stored. Do "which php" and change the php binary to something else and it will work. Greg

« previous php.pear.general (#25554) next »