I currently have zendframework installed in /usr/share/php/ZendFramework. I have copied both zf.sh and zf.php to /usr/bin. I modified /etc/php.ini's include_path to
Code:
include_path = ".:/usr/share/php/ZendFramework/library:/usr/share/php/ZendFramework/bin:/usr/share/php:/usr/share/pear"
. I then restarted the server. And at the prompt typed
Code:
zf.sh show version
. It then scrolls a whole list of errors at the end of which it displays the Zendframework version as 1.9.1.

An excerpt of the errors are as follows
Code:
Warning: include_once(): Failed opening '/usr/share/pear/test/Net_SMTP' for inclusion (include_path='.:/usr/share/php/ZendFramework/library:/usr/share/php/ZendFramework/bin:/usr/share/php:/usr/share/pear') in /usr/share/php/ZendFramework/library/Zend/Tool/Framework/Loader/Abstract.php on line 90
PHP Warning:  include_once(/usr/share/pear/test/Structures_Graph/tests): failed to open stream: No such file or directory in /usr/share/php/ZendFramework/library/Zend/Tool/Framework/Loader/Abstract.php on line 90

Warning: include_once(/usr/share/pear/test/Structures_Graph/tests): failed to open stream: No such file or directory in /usr/share/php/ZendFramework/library/Zend/Tool/Framework/Loader/Abstract.php on line 90
PHP Warning:  include_once(): Failed opening '/usr/share/pear/test/Structures_Graph/tests' for inclusion (include_path='.:/usr/share/php/ZendFramework/library:/usr/share/php/ZendFramework/bin:/usr/share/php:/usr/share/pear') in /usr/share/php/ZendFramework/library/Zend/Tool/Framework/Loader/Abstract.php on line 90

Warning: include_once(): Failed opening '/usr/share/pear/test/Structures_Graph/tests' for inclusion (include_path='.:/usr/share/php/ZendFramework/library:/usr/share/php/ZendFramework/bin:/usr/share/php:/usr/share/pear') in /usr/share/php/ZendFramework/library/Zend/Tool/Framework/Loader/Abstract.php on line 90
PHP Warning:  include_once(/usr/share/pear/test/Structures_Graph): failed to open stream: No such file or directory in /usr/share/php/ZendFramework/library/Zend/Tool/Framework/Loader/Abstract.php on line 90

Warning: include_once(/usr/share/pear/test/Structures_Graph): failed to open stream: No such file or directory in /usr/share/php/ZendFramework/library/Zend/Tool/Framework/Loader/Abstract.php on line 90
PHP Warning:  include_once(): Failed opening '/usr/share/pear/test/Structures_Graph' for inclusion (include_path='.:/usr/share/php/ZendFramework/library:/usr/share/php/ZendFramework/bin:/usr/share/php:/usr/share/pear') in /usr/share/php/ZendFramework/library/Zend/Tool/Framework/Loader/Abstract.php on line 90

Warning: include_once(): Failed opening '/usr/share/pear/test/Structures_Graph' for inclusion (include_path='.:/usr/share/php/ZendFramework/library:/usr/share/php/ZendFramework/bin:/usr/share/php:/usr/share/pear') in /usr/share/php/ZendFramework/library/Zend/Tool/Framework/Loader/Abstract.php on line 90
PHP Warning:  include_once(/usr/share/pear/test/XML_RPC): failed to open stream: No such file or directory in /usr/share/php/ZendFramework/library/Zend/Tool/Framework/Loader/Abstract.php on line 90