[ Zend Server 4.x ]
[ Linux ]
On Linux, when installing the tarball (CE) to a non default path (this is only possible with the tarball), there is a problem with the Pear and pecl scripts that will look for the PHP binary path in the wrong place (in /usr/local/zend instead of in the installation location).
This is a problem we cannot solve because of the scripting structure in the pear / pecl commands that we don't want to patch.
Resolution / Workaround
As a workaround, users can easily re-install pear / pecl by running this script: http://pear.php.net/go-pear and properly pointing it to their Zend Server installation path.
# curl http://pear.php.net/go-pear | /usr/local/zend/bin/php
# wget -O - curl http://pear.php.net/go-pear | /usr/local/zend/bin/php
To download and run the script. Then, follow the script's instructions and don't forget to point the paths to Zend Server's install path.
Excerpt: Cannot install PEAR with Zend Server custom installation path
Original Post Date: 2009-10-23 14:09:19
Cannot install PEAR with Zend Server custom installation path