If you are running SE Linux, certain paths and directories will be invisible to the system.
Be sure to examine the logs for audit and messages: tail -f /var/log/audit/audit.log tail -f /var/log/messages You may see messages such as: Sep 24 08:43:48 server2001 setroubleshoot: SELinux is preventing access to files with the default label, default_t. For complete SELinux messages. run sealert -l dee71e13-efb6-461e-b086-a0bb10d718 In this case type this at the command line (the alert id in the log is specific to the incedent): sealert -l dee71e13-efb6-461e-b086-a0bb10d718 - Jeremy Postlethwaite Ralph Schindler-2 wrote: > > 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 >> >> > > -- View this message in context: http://www.nabble.com/Getting-Started---Issues-on-CentOS-tp25856866p25859266.html Sent from the Zend Framework mailing list archive at Nabble.com.
