It looks like those directories are not executable by your user and they
are . This is a known issue and will be fixed in 1.10. Basically,
Zend_Tool attempts to use an auto-detection mechanism to find its providers.
In the coming days, I will produce a alpha version of 1.10 that you can
start using as it will not try to auto-detect out the box.
-ralph
Jeremy Clifton wrote:
Hi folks,
I'm trying to get started with Zend Framework and running into some
issues. I'm working on a virtual machine with CentOS 5.3. It's running
PHP 5.3.0.
I've been following the instructions in the "Getting Started with Zend
Framework 1.9" found here: http://akrabat.com/zend-framework-tutorial/
When I get to the point of testing Zend_Tool ("zf show version") I get
several thousand lines of warnings about failed includes followed by the
version. For instance:
[jclif...@localhost ~]# zf show version
PHP Warning: include_once(/usr/share/pear/.registry): failed to open
stream: No such file or directory in
/usr/share/pear/Zend/Tool/Framework/Loader/Abstract.php on line 90
Warning: include_once(/usr/share/pear/.registry): failed to open
stream: No such file or directory in
/usr/share/pear/Zend/Tool/Framework/Loader/Abstract.php on line 90
PHP Warning: include_once(): Failed opening
'/usr/share/pear/.registry' for inclusion
(include_path='.:/usr/share/pear:/usr/share/php') in
/usr/share/pear/Zend/Tool/Framework/Loader/Abstract.php on line 90
Warning: include_once(): Failed opening '/usr/share/pear/.registry'
for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in
/usr/share/pear/Zend/Tool/Framework/Loader/Abstract.php on line 90
PHP Warning:
include_once(/usr/share/pear/.registry/.channel.pecl.php.net): failed
to open stream: No such file or directory in
/usr/share/pear/Zend/Tool/Framework/Loader/Abstract.php on line 90
[snipped]
Warning: include_once(): Failed opening '/usr/share/pear/PEAR/REST'
for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in
/usr/share/pear/Zend/Tool/Framework/Loader/Abstract.php on line 90
PHP Warning: include_once(/usr/share/pear/Net): failed to open
stream: No such file or directory in
/usr/share/pear/Zend/Tool/Framework/Loader/Abstract.php on line 90
Warning: include_once(/usr/share/pear/Net): failed to open stream: No
such file or directory in
/usr/share/pear/Zend/Tool/Framework/Loader/Abstract.php on line 90
PHP Warning: include_once(): Failed opening '/usr/share/pear/Net' for
inclusion (include_path='.:/usr/share/pear:/usr/share/php') in
/usr/share/pear/Zend/Tool/Framework/Loader/Abstract.php on line 90
Warning: include_once(): Failed opening '/usr/share/pear/Net' for
inclusion (include_path='.:/usr/share/pear:/usr/share/php') in
/usr/share/pear/Zend/Tool/Framework/Loader/Abstract.php on line 90
Zend Framework Version: 1.9.3PL1
It appears to me that it's trying to include things that aren't PHP
library files and failing.
FWIW I can follow the same instructions on OS X and I have no issues at
all. The problem is that the virtual server I'm using is a clone of the
machine that I'll eventually be deploying on ... so I'd like to have it
working there.
Am I doing something stupid, or is this a bug that should be reported?
Best,
Jeremy
-------
Jeremy Clifton <[email protected]>
4-8-4 Software Works
(423) 240-4512